If you are using multiple players on the same page, there is nothing special you need to do. For instance, it is perfectly acceptable to have the following players on the same page.
<video-js data-video-id="4093372393001"
data-account="1507807800001"
data-player="ry3j6rsze"
data-embed="default"
data-application-id
class="video-js"
controls></video-js>
<script src="https://players.brightcove.net/1507807800001/ry3j6rsze_default/index.min.js"></script>
<video-js data-video-id="5076962725001"
data-account="1507807800001"
data-player="BkTGbgSq"
data-embed="default"
data-application-id
class="video-js"
controls></video-js>
<script src="https://players.brightcove.net/1507807800001/BkTGbgSq_default/index.min.js"></script>
Be aware of the following when placing multiple players on the same HTML page:
preload
set to auto
. It is generally not recommended.default
. (As a reminder, in the Advanced player code the player ID is used in the data-player
attribute.) The workaround is to duplicate one of the default players so it has a unique identifier.id
attribute or use no id
attributes.<video>
tag using width
and height
attributes, the player CSS from the last player is applied to all players.
Workarounds