All the javascript methods like Play,Pause works fine if I give physical location of an swf src, like: -
Expand|Select|Wrap|Line Numbers
- <object>
- <embed width="640" height="380" type="application/x-shockwave-flash" src="player/flvplayer.swf" >
- </object>
But when I give the src location as an virtual path,... like an swf file present in different server, then i am not able to access the play/pause methods thru javascript .... Example....
Expand|Select|Wrap|Line Numbers
- <object>
- <embed width="640" height="380" type="application/x-shockwave-flash" src="http://505.12.125.87/playflash/flvplayer.swf" >
- </object>
Expand|Select|Wrap|Line Numbers
- <?xml version="1.0"?>
- <cross-domain-policy>
- <allow-access-from domain="http://159.138.4.56/playflash" secure="false" />
- </cross-domain-policy>
The javascript code and the whole program is present in 159.138.4.56
The swf files r present in 505.12.125.87.
please help me .... the flash file is playing fine, but i am not able to play/pause it if the path is virtual(http://.....)
Thanking you,
Kiran Ragiru