Embedding

Posted by user501231 
Embedding
December 11, 2010 10:09PM
Thanks, I have used the followingcoding in other sites. It was very simple and it worked perfectly.

With another flashplayer I used the following coding.
....
... definitions:
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
var stageW = 606;
var stageH = 120;
var flashvars = {};
var params = {};
params.allowfullscreen = "false";
flashvars.stageW = stageW;
...
flashvars.extendVideo = "true";
swfobject.embedSWF("flvPlayer.swf", "myContent", stageW, stageH, "9.0.0", "js/expressInstall.swf", flashvars, params);
</script>
...
</head>
<body bgcolor="#FFFFFF" text="#000000">
..
.. position at which the movie is intiated:
<div id="myContent"> <p> <a href="[www.adobe.com]; </a> </p> </div>
...
</body>
</html>

In the JCP coding i see that the flashvars are used and defined at 3 places, and it is not clear where the equivalent of 'myContent" is specifeid and used
How can this all be done using the JCP?/ can it be activated also by 1 command line ?
Regards
Re: Embedding
December 13, 2010 10:14AM
In the received example, you can find two embed modes, with javascript or with object id. It's better to have both modes, because in some cases the user has javascript mode activated and in other cases he doesn't and then the second embed mode will be used.
Sorry, only registered users may post in this forum.

Click here to login