What to Do When iframe Fullscreen Option is Not Working with Embed Code

By Harmonie Duhamel

2 Min Read

banner image featured
author avatar

Harmonie Duhamel

Harmonie is a Senior digital marketer with over 6 years in the Tech Industry. She has a strong marketing and sales background and loves to work in multilingual environments.

Table of Contents

Share this post

Sign up for a 14 Day trial.

Table of Contents

    To use the fullscreen option with your embed code on Dacast to live stream on your website, we recommend using the JS embed code. However, if you prefer to use the iframe code instead, it is still possible to use the fullscreen option with it. To do so, you must first look at your source code to see if you can locate any iframe code directly above the Dacast embed code.  Here is an example of this situation:

    JS embed code

    If you have this kind of code structure, the solution is to allow the “parent” iframe to go full screen in order to get Dacast player going into fullscreen view.  You can make this change by adding the following content to the code:

    JS embed content code

    Using the above example, here is a version that will work with the full-screen option:

    Js embed code full screen option

    Additional Resources

    author avatar

    Harmonie Duhamel

    Harmonie is a Senior digital marketer with over 6 years in the Tech Industry. She has a strong marketing and sales background and loves to work in multilingual environments.

    Sign up for a 14-Day trial.

    Read Next

    article featured

    How To Use Dacast Browser-based Streaming (WebRTC)

    author avatar

    Samantha Lo

    11 Min Read

    article featured

    How to protect my VODs with DRM in Dacast?

    author avatar

    Dacast Team

    5 Min Read

    article featured

    How to Secure My Content With Signed Keys?

    author avatar

    Harmonie Duhamel

    6 Min Read