JW Player 5.6 and 5.7 For Andrew
2 posts • Page 1 of 1
Hello,
I have a jwplayer license from longtail and would install the JWplayer5.6or5.7
on phpmelody
The problem is that nobody in the forum or in modmyscript have experience with
that.
Give me please support
PS:D'ont redirect to an older Post, a "up to date" update can help!
Thank You
I have a jwplayer license from longtail and would install the JWplayer5.6or5.7
on phpmelody
The problem is that nobody in the forum or in modmyscript have experience with
that.
Give me please support
PS:D'ont redirect to an older Post, a "up to date" update can help!
Thank You
-
morane57 - Verified Customer
- Posts: 399
- Joined: Feb 27, 2011 3 pm
- Reputation points: 140
Or chek this code please for Corrections:
- Code: Select all
{literal}
<div id='mediaplayer'></div>
<script type="text/javascript">
jwplayer('mediaplayer').setup({
'id': 'playerID',
'width': '{/literal}{$smarty.const._PLAYER_W}{literal}',
'height': '{/literal}{$smarty.const._PLAYER_H}{literal}',
{/literal} {if $video.source_id == 3}
{literal}
file: '{/literal}{$video.direct}{literal}',
type: 'youtube',
{/literal}
{else}
{literal}
'file': '{/literal}{$smarty.const._URL2}{literal}/videos.php?vid={/literal}{$video.uniq_id}{literal}',
type: 'video',
{/literal}
{/if}
{literal}
'modes': [
{type: 'flash', src: 'jwplayer5.swf'},
{type: 'html5'},
{type: 'download'}
]
});
{/literal}</script>
<script>
{literal}
skin: '{/literal}{$smarty.const._URL2}{literal}/solidgold.zip',
enablejs: 'true',
backcolor: '{/literal}{$smarty.const._BGCOLOR}{literal}',
frontcolor: '{/literal}{$smarty.const._TIMECOLOR}{literal}',
screencolor: '000000',
repeat: 'false',
autostart: '{/literal}{$smarty.const._AUTOPLAY}{literal}',
'logo.hide': 'false',
logo: '{/literal}{$smarty.const._WATERMARKURL}{literal}',
'logo.position': 'top-right',
linktarget: '_blank',
link: '{/literal}{$smarty.const._WATERMARKLINK}{literal}',
image: '{/literal}{$video.preview_image}{literal}',
bufferlength: '5',
plugins: 'yousearch-1',
controlbar: 'over'
var params = {
wmode: 'window',
allowfullscreen: 'true',
allowscriptaccess: 'always',
allownetworking: 'all'
};
var attributes = {
name: '{/literal}{$video.uniq_id}{literal}',
id: '{/literal}{$video.uniq_id}{literal}'
};
swfobject.embedSWF('{/literal}{$smarty.const._URL2}{literal}/jwplayer.swf', 'Playerholder', '{/literal}{$smarty.const._PLAYER_W}{literal}', '{/literal}{$smarty.const._PLAYER_H}{literal}', '9.0.115', false, flashvars, params, attributes);
</script>
{/literal}
-
morane57 - Verified Customer
- Posts: 399
- Joined: Feb 27, 2011 3 pm
- Reputation points: 140
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests