Hello:
I want to play mp4 video in HTML5 with ambilight effect. I succeeded to implement the same:
<video id="example" height="340" width="592" controls="controls" autobuffer="true" autoplay="autoplay" poster="images/image_1.jpg">
<source src="media/video1.mp4" type="video/mp4" />
<source src="media/video.ogv" type="video/ogg" />
<source src="media/video.webm" type="video/webm" />
</video>
<script>
ambiLight.create(document.getElementById('example'));
</script>
Ref Url:
http://chikuyonok.ru/ambilight/ambilight.js
http://media.chikuyonok.ru/ambilight/
Now, I want to play the same using JW Player with minima skin & sharing plugin. And, I am struggling since 5 days incorporate both of ambilight & jw player.
Here's my updated code for which I am working:
jwplayer('example').setup({
'autostart': 'true',
'width': '480',
'height': '270',
plugins: { "sharing-3":
{
code: "<encoded iframe>",
link: "<video link>"
}
},
'skin': 'skins/minima/minima.zip',
modes: [
{ type: 'html5' },
{ type: 'flash', src: 'jwplayer/player.swf' }
],
events: {
onReady: function() {
alert('ready');
this.play();
ambiLight.create(document.getElementById('example_video'));
}
}
});
Can you please look into this and help me out.
thanks
timcy
@timcy -
Do you have an example page with the JW Player set up?