BrightcoveLearning / 18188-ad-countdown-timer

For more information about this sample see: https://support.brightcove.com/brightcove-player-sample-ad-countdown-timer
MIT License
0 stars 1 forks source link

Does not work with Brightcove videos embedded in an iframe. #1

Open ianwesty opened 6 years ago

ianwesty commented 6 years ago

Unfortunately this does not work when trying to embed a Brightcove video via an iframe. The following error is displayed. Uncaught ReferenceError: videojs is not defined

<iframe id="myPlayerID"
        src="//players.brightcove.net/1752604059001/ryxfFuudub_default/index.html?videoId=5393799460001"
        allowfullscreen
        webkitallowfullscreen
        mozallowfullscreen
        frameborder="0"
        class="video-js"
        controls></iframe>
rcrooks commented 6 years ago

thanks @ianwesty we will look into it

mboles commented 6 years ago

I am not having any issues when retesting. Are you sure you added the overlay in Studio as described in the document: https://support.brightcove.com/brightcove-player-sample-ad-countdown-timer

mboles commented 6 years ago

Forgot, here is a working sample with an iframe: http://solutions.brightcove.com/bcls/brightcove-player/ad-countdown/test-plugin-from-studio.html

mboles commented 6 years ago

Also updated code, but don't think any real changes, just comments.

ianwesty commented 6 years ago

@mboles your iframe example is displaying "File not found. The requested file could not be found." within the IFRAME.

Also, if you play the Sea Horses video in the example URL (https://support.brightcove.com/brightcove-player-sample-ad-countdown-timer) Ad's aren't running for me.