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:
<video controls>
<source src="<?phpecho$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!!
Wow. That was seriously all!!! I read a couple of different documents that said that you could do a MP4 for later versions of Firefox. They were wrong!
THANKS!
Code
Post Reply
Delete Post
You are allowed to delete your post for 5 minutes after it's posted.
This website stores cookies on your computer. These cookies are used to improve
your website experience and provide more personalized services to you, both on this website and through
other media. To find out more about the cookies we use, see our Privacy Policy.
https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_fo...