Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Embedding VOD/AOD media in a lightbox overlay
With our iframe-based implementation, simply take the URL from the iframe without the surrounding iframe tag to obtain similar behaviour. You will end up with an address in this format: http://vod.infomaniak.com/iframe.php?player=1234&vod=123&url=nom_group_vod/1234/5678/titre_video.mp4
Options may be added to this address to make it easier to embed:
- autostart (0 or 1): allows playback to start automatically
- strechheight (0 or 1): allows you to force the video to be stretched
- loop (0 or 1): enables lopped playback
- mute (0 or 1): allows you to mute the sound
- width: allows you to set a fixed width for the player
- height: allows you to set a fixed height for the player
- preloadImage: allows you to change the preloaded image
Link to this FAQ: