Revive Adserver mp4 video ad with html5 video player - html

I am using revive add server mp4 video ad, my problem here is, Revive add server mp4 video ad not working in firefox with html5 player. but it is working chrome and IE browser.
Actually mp4 video is not compatible in firefox, only a webm vedio allowed in firefox with html5 player.
I dont know how to play revive mp4 video ad on firefox with html5 player.
My code to get revive ad's:
'apiAddress': 'http://site/revive-adserver/www/delivery/fc.php?script=bannerTypeHtml:vastInlineBannerTypeHtml:vastInlineHtml&zones=pre-roll:0.0-0%3D'+zon+'%7Cmid-roll:1.0-0%3D'+zon+'%7Cpost-roll:2.0-0%3D'+zon+'&nz=1&source=&r=R0.8364616059698164&block=0&format=vast&charset=UTF-8'
Can anyone help me??
Thanks in advance.

Related

OpenCV created videos not playing in browser

I have created a video using opencv-python in AVI format. When I open the video locally, it is playing. But when I embed this video to HTML5, it is not playing.
How can I fix this?
I have tried in both Chrome, Firefox.

MKV Web Player (Not npapi)

Is there any way to play a MKV video on browser (Chrome and Mozilla Firefox) ? Native HTML5 Video Player plays back the video but no audio and Divx Web Player became obsolete since Chrome 45.
Any and all help appreciated :)

MP3 audio not working in firefox browser / android firefox browser

I am using Html5 audio tag in my site and referring only mp3 audio format(not ogg), its working fine in firefox browser from a test server but when same code deployed on live site then its not playing the audio in firefox browser.
<audio controls>
<source src="planetarian.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
Please help me to find out the root why same code is play from a server but on live its not working.
Firefox 21+ started to support the MP3 files, please check your mime type on server whether MP3 is added there or not.
I got same problem.once I make it mp3 file as 64kbps bit rate,It's working for me.please check your audio bit rate.

How can I play Apple HLS live stream using html5 video tag

<video id="live" autoplay controls>
<source src="http://[WOWZA-IP]:1935/Live/mp4:[LIVESTREAMNAME]/playlist.m3u8" type="video/mp4" />
</video>
I am trying to play h264 encoded live stream using html5 video tag. Live stream is broadcasted by wowza media server and when visiting src link I get a valid playlist file. When trying to play the stream on android chrome browser, player does nothing and shows black screen.
Is this html5 video tag related issue or maybe broadcaster?
These are the formats you can play using html5 source tags.
Think of a video format as a zip file which contains the encoded video stream and audio stream. The three formats you should care about for the web are (webm, mp4 and ogv):
.mp4 = H.264 + AAC
.ogg/.ogv = Theora + Vorbis
.webm = VP8 + Vorbis
There is actually a good range of solutions for this. One solution would be to detect if HLS can be played:
document.createElement('video').canPlayType('application/vnd.apple.mpegURL') !== ''
However, this would not allow you to play HLS content on devices which do not support playback. At this moment, playback is only supported on Microsoft Edge, iOS Safari, OS X Safari and Android (however, I strongly advise against using HLS on Android due to limitations)
An other solution to play HLS across all platforms in HTML5 is to use an HTML5 HLS player such as THEOplayer. They managed to allow HLS to be played on all popular platforms and devices, including those without Media Source Extension support. Currently, the list of supported browsers and platforms includes: Internet Explorer, Edge, Firefox, Chrome, Opera and Safari on Windows, Linux, Mac OS X, Android, iOS and Windows Phone.
On Browsers supporting Media Source Extension you can use https://github.com/dailymotion/hls.js
For workarounds using flash, you can use FlasHLS chromeless player.
Try FlowPlayer. It provides a full HLS support with the least effort in server side!

Play .mp4 videos using HTML5

How can I play .mp4 videos using HTML5 using the video tag? Does chrome support HTML5 with .mp4 videos?
Safari can play h264 encoded mp4 videos, Chrome nolonger supports them, Firefox never did. If you pick Google's WebM format, it will work in both Chrome and Firefox.
chrome does support MP4 video with H.264 video codec, But it can only play video with "Baseline profile" of H.264.
The state of media currently with browsers is that you will likely not find a format that works with all browsers, so you will need to encode your video/audio in at least 2 or 3 different formats. There is a nice jQuery plugin called jPlayer that I would heartily recommend if you're going to start out with HTML5 media. The documentation is pretty good and it will really help you work with different browsers. http://jplayer.org/.