jquery sg video
jquery sg video
- var myVideo = {
- 'ogg': (source + '.ogv'),
- 'h264': (source + '.m4v'),
- 'webm': (source + '.webm'),
- 'swf': (source + '.swf')
- }
-
- var options = {
- width: ($('#content').height() * .75) * 1.11111,
- height: $('#content').height() * .75
- }
-
- $('#videoContainer').video(myVideo,options);
Having issues with the video plugin for jQuery. This works great for Chrome but not Safari or Firefox. In Firefox it just shows up as a grey box with a light grey 'X' in the middle, and in Safari as nothing. I'm guessing it's something about the MIME but I have no idea what to do about that.