daemon
daemon

Reputation: 123

Safari 11.1.2 won't able to play the video django app

I have an application in django. I have uploaded a video which is playing perfectly fine in all the browser except for safari.

Configuration for media files in settings.py is as

MEDIA_ROOT = os.path.join(BASE_DIR,'media_root')
MEDIA_URL = '/media_root/'

Url which i am testing is http://admin.newsyoucantuse.in/media_root/blog/videos/sample_video_sample_video_SampleVideo_1080x720_2mb.mp4

I have gone through a lot of solutions but didn't understand what exactly is the issue,

Upvotes: 0

Views: 734

Answers (1)

daemon
daemon

Reputation: 123

I resolved the issue by changing the environment to production in app_name/settings.py file.

Now it is working.

Upvotes: 0

Related Questions