The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> HTML 5 Video didn't play on hosting server
yogesh 30
post Apr 16 2015, 05:19 AM
Post #1





Group: Members
Posts: 1
Joined: 16-April 15
Member No.: 22,495



I have created HTML page with HTML 5 video control. This page will play one video on background. When i check it on local machine it works fine, but when i upload it on server the video is not get played.

Please find below code that i have used

<video autoplay loop poster="polina.jpg" id="bgvid">
<source src="Colors.webm" type="video/webm">
<source src="Colors.mp4" type="video/mp4">
<source src="Colors.ogv" type="video/ogg">
</video>

If anyone has solution to resolve this problem is highly appreciated. Thanks
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 16 2015, 06:08 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,734
Joined: 9-August 06
Member No.: 6



Did you upload the video? Is it placed where you say it is, in the same folder as the HTML? Is it named exactly Colors.mp4, same case and all? Servers usually run on an OS that's case sensitive whereas Windows is not.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 10th May 2024 - 10:34 AM