Video attribute won't play in Firefox - Just fine in Chrome
Permalink
Okay. I'm losing my mind. I'm trying to display a video using a custom attribute and I'm getting nothing in Firefox, but the video plays in Chrome. I will admit that my experience with video as a Web Dev is very very very limited. I'm using VLC Player to convert the video based on a YouTube video. I've added the "AddType" line to the htaccess. Still nothing out of Firefox. I was hoping more HTML5 dev could tell me what I'm doing wrong. Here is the code I've got:
If someone knows how to access the video player block, I'm game for it too. I just don't know how. *sighs* HELP!!
<video controls> <source src="<?php echo $c->getAttribute('sample_clip')->getVersion()->getRelativePath(); ?>" type="video/mp4" /> <p>Your browser does not support H.264/MP4.</p> </video>
If someone knows how to access the video player block, I'm game for it too. I just don't know how. *sighs* HELP!!
https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_fo...