How to add clickable logo on the flash web player?
Posted
by kishore
on Stack Overflow
See other posts from Stack Overflow
or by kishore
Published on 2010-05-06T09:31:48Z
Indexed on
2010/05/06
9:38 UTC
Read the original article
Hit count: 356
jwplayer
|JavaScript
Hi All,
I have a code like this
<script type="text/javascript" src="http://www.clipul.com/play/swfobject.js"></script>
<div id="player">This text will be replaced</div>
<script type="text/javascript">
var so = new SWFObject('http://montsmile.com/jwplayer/player.swf','mpl','480','380','8');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('height','310');
so.addVariable('width','470');
so.addVariable('file','http://localhost:81/newtip/<?=$videopath1?>');
so.addVariable('logo','http://localhost:81/newtip/ffmpeg/logo2.jpg');
so.addVariable("ClickURL", "http://www.google.com");
so.addVariable('captions','/upload/corrie.xml');
so.addVariable('link','<?=$full_url.'tip.php?vid='.$row_video['vid']?>');
so.addVariable('linkfromdisplay','true');
so.addVariable('linktarget','_blank');
so.addVariable('searchbar','false');
so.addVariable('skin','http://montsmile.com/jwplayer/player.swf');
so.write('player');
</script>
It is displaying a player and playing the video. If I Click on the Logo It has to go to www.google.com. But when I click on the logo it becomes pause.
Help me how to add clickable Logo on the player
© Stack Overflow or respective owner