Showing posts with label video. Show all posts
Showing posts with label video. Show all posts

Monday, April 18, 2016

Youtube error

YouTube's HTML5 player failed to play on Mozilla SeaMonkey browser.
To make it work do the following:
  1. Go to the about:config page
  2. Set the value of media.fragmented-mp4.enabled to false
UPD: that settings prevents some site to show video gifs.
Looks like this setting works better:
media.mediasource.webm.enabled: true

Wednesday, August 11, 2010

video player

To play video on a web page, the FlowPlayer (http://flowplayer.org) works good.
To dynamically change the video, first, a play list could be created:

<a id="player" style="display:block;width:520px;height:330px" ></a>

<script>
var player_obj = flowplayer("player", "flowplayer/flowplayer-3.2.2.swf",
{
clip: {
baseUrl: 'http://host.com/Test/Videos/',
autoPlay : false
},

playlist: [
'clip1.flv',
'clip2.flv',
'clip3.flv',
'clip4.flv'
]
});
</script>


and then select a clip to play by the following command:
player_obj.play(n); // n - the index in the playlist

To convert the video to .flv format this free converter could be used:
http://www.brothersoft.com/cool-mp4-to-flv-converter-229933.html

List of available converters (some paid):
http://www.brothersoft.com/downloads/mp4-to-flv.html