We use JW Player on our site, this is for the 5.2, but we are looking to upgrade to 5.3 because it works seamlessly with HTML5 for Apple devices that don't support flash.
Then just output the javascript to insert the player, if you are using JW Player 5.3 the code is different (easier) as you don't have to use SWFObject to insert the flash.
<xsl:when test="$VideoImage != '' ">
<div id='player'>Your browser/device does not currently support flash.</div>
<script type='text/javascript'>
var so = new SWFObject('/flash/player.swf','mpl','337','236','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','<xsl:value-of select="$Video" />');
so.addVariable('image','<xsl:value-of select="$VideoImage" />');
so.addVariable('plugins', 'gapro-1');
so.addVariable('gapro.accountid', 'UA-111111-1');
so.write('player');
</script>
</xsl:when>
You can just use the normal code that the JWPlayer will generate for you using their handy wizard tool!
Playing JW Player in Umbraco?
Is there a package or a way to play JW Player videos on Umbraco?
All advice greatly appreciated thanks!!
isn't the flowplayer package any good?
http://our.umbraco.org/projects/backoffice-extensions/insert-video-%28flowplayer%29
We use JW Player on our site, this is for the 5.2, but we are looking to upgrade to 5.3 because it works seamlessly with HTML5 for Apple devices that don't support flash.
We set the video file into a variable:
Then just output the javascript to insert the player, if you are using JW Player 5.3 the code is different (easier) as you don't have to use SWFObject to insert the flash.
You can just use the normal code that the JWPlayer will generate for you using their handy wizard tool!
thanks for that. So is your solution the same as the package Rik suggests?
Thanks!
is working on a reply...