- About project
- Privacy policy
- Log out
- My area
- Sign up
- Sign in
SWF Object Integration
SWF Object is the most common JavaScript tool to publish Flash objects. Comparing to classic HTML, SWFObject has a number of advantages. For instance, users of Internet Explorer do not have to activate it their Flash Objects (IE Eolas Update); the swfObject checks for updates for the Flash-player online (for more information, visit SWF Object). You can also download SWF Object there.
The Sonettic Cinema Player HD can be easily integrated into your website with the help of SWF Object. You will not need to activate your Flash-objects in Internet Explorer.
It is also possible to use XML for the same purposes. More details can be found here.
Initial data:
| name | value |
| player swf | cinemaplayer.swf |
| video file | trailer.flv |
| html page | index.html |
| thumbnail | thumb.png |
| host | www.example.com |
| swfObject | swfobject/swfobject.js |
The main goals are to integrate the player into index.html page, and to paste thumbnail thumb.png and the file trailer.flv with the video.
Important! If you want the player to load pictures from your domain, you have to place crossdomain.xml file in the root of your server (more about Cross-domain policy file specification).
On your server you have to create a folder named integration. Then you have to place the following code on top of the file index.html (<head> tag).
Paste this code under the tag <body>
The path to the video you have to set as content flashvar.
The path to the thumbnail you have to set as poster flashvar.
For more information about Players settings, please visit our page with the description of configuration variables. (www.sonettic-cinema.com/..../).
Flashvars:
| flashvar | value |
| content | trailer.flv |
| poster | thumb.png |
We also have examples to review online.
