lporiginalg
02-22-2008, 04:03 AM
Hi I'm trying to create a .js that can be called anywhere on a page to embed a flash movie with one line of code.
This is a working example i got off a website:
<script src="http://www.ooyala.com/player.js?width=800&height=448&embedCode=sxM2I6UiPuCkPaUuWM6KObYoyA-MOBcn"></script>
I've looked at their .js file to try and figure out how it works but it's a bit too complex for me, wondering if someone can shed some light so I can use this method to embed my own movies, thanks.
This is a working example i got off a website:
<script src="http://www.ooyala.com/player.js?width=800&height=448&embedCode=sxM2I6UiPuCkPaUuWM6KObYoyA-MOBcn"></script>
I've looked at their .js file to try and figure out how it works but it's a bit too complex for me, wondering if someone can shed some light so I can use this method to embed my own movies, thanks.