(original message sent to me offlist)
I have a lot of trouble with upgrading swfobject from Version 1.4 to the new
swfobject Version 2.2.
My First Problem was that swfobject did not displayed any Swf Object.
The Problem was that i have not used for the version Number a string.
Instead i have used a normal number and this caused the not displaying of
the swf Object.
Buggy Code with the Version Number 8 as a normal Number. SwfObject expect
only a String:
> swfobject.embedSWF("test.swf", "myContent", "300", "120", 8,
> "expressInstall.swf");
>
Maybe inside the swfobject Code the Value of the Version should be
transformed first into a String or if it is not possible at least a Error
Message should be Printed out when the Version is not a string?
My actual problem is however that the streaming that works great in
swfobject Version 1.4 dont work anymore with the swfobject Version 2.2
This here is the code of the Version 1.4 in which the Video Livestream works
with no problem
>
> <div id="myContent">
> <embed width="160"
> align="left"
> height="120"
> flashvars="userid=userid&
> appletroot=http://test.com/&
> appletskin=skin.swf&
> serverip=false&
> streamid=false&
> javascript=1&
> category=test&
> videotype=null&
> username=username&
> flashSize=160|120&
> usertype=member&
> proxyip=100.100.100.100:8080&
> type=sbpublic&
> fmsip=100.100.100.100&
>
> flashcookie=m3l33wre5cakv074rs9f9048d77k32p8"
>
> class="username_VideoStreamer"
> wmode="window"
> salign="lt"
> scale="noscale"
> movie="http://test.com/livestream.swf
> "
> id="VideoStreamer"
> allowfullscreen="true"
> allowscriptaccess="always"
> quality="high"
> bgcolor="900000"
> name="VideoStreamer"
> src="http://test.com/livestream.swf"
> type="application/x-shockwave-flash"
> >
> </div>
>
>
This here is the new created non working dynamic generated Html swfobjct
Code
<object width="160"
> height="120"
> type="application/x-shockwave-flash"
> id="VideoStreamer"
> name="VideoStreamer"
> movie="http://test.com/livestream.swf"
> data="http://test.com/livestream.swf">
>
> <param name="wmode" value="window">
> <param name="salign" value="lt">
> <param name="scale" value="noscale">
> <param name="id" value="VideoStreamer">
> <param name="allowFullScreen" value="true">
> <param name="allowScriptAccess" value="always">
> <param name="quality" value="high">
> <param name="align" value="left">
> <param name="bgcolor" value="#900000">
> <param name="name" value="VideoStreamer">
> <param name="flashvars" value=" userid=userid&
> appletroot=
> http://test.com/&
>
> appletskin=skin.swf&
> serverip=false&
> streamid=false&
> javascript=1&
> category=test&
> videotype=null&
> username=username&
> flashSize=160|120&
> usertype=member&
>
> proxyip=100.100.100.100:8080&
> type=sbpublic&
>
> fmsip=100.100.100.100&
>
> flashcookie=m05up3reirxsvjbg6fynt963r8m1p69y">
> </object>
>
For some rerason i cant see the Video Livestream.
Could it be that the handling of the FlashVars does not work.
The very strange thing is also that the size of the object with 160x120
pixels is right but the Embedded Content Picture that is displayed while
running/loading the SwfCode is much bigger.
So the Content size is not displayed right too beside the not showed
VideoLivestream.
I have however defined the size as follow in the FlashVars
With the Old version i did not have this Problem with the Content Size
"flashSize=160|120&"
What could be wrong ?
Thanks in advance for any Helpfull Answer.
--
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en.