Player V3 Query String Parameters (Deprecated)
Important: Ooyala Player V3 is deprecated and is scheduled
to be disabled on 2018-01-31. After that date, Player V3 will no longer play your video
or audio content. Customers still using Player V3 need to migrate to Player V4 (see Migrating from Player V3 and Player Migration FAQ).
You add these types of query string parameters to the URL that invokes the Player V3 library
and the video, like the name1=value1
&name2=value2... in the following example.
<script>http://player.ooyala.com/v3/player_branding_id?name1=value1 &name2=value2...The following table describes these query string parameters.
Parameter | Description |
---|---|
namespace |
The namespace parameter allows multiple independent copies of player code on the same page, by renaming the default namespace OO to any other valid javascript id. For example if you use this embed: namespace=(unique javascript id) You can later use: MYPLAYER_1.Player.create(......) MYPLAYER_2.Player.create(......) |
platform | The platform parameter enables you to control the selection mechanism between flash and html5 playback. The parameter format is: platform=(flash-only|flash|html5-fallback| html5-priority) For Player V3, the default multimedia Default is flash. The parameter has the following options:
|
tweaks=android-enable-hls | Use the tweaks parameter to enable HLS on your Android
devices for the web. Although you can use this parameter to enable HLS on Android
devices, certain limitations exist for HLS playback on devices of version 4.x and
later. For more information about operability on Android devices, see "Enabling HLS
on Android Web." Note: As the use of the tweaks parameter can involve native playback
issues, we cannot guarantee optimal playback experience on every Android device
and OS version.
Example |
tweaks=html5-force-mp4 | Use the tweaks parameter to force MP4 playback in the html5 player.
This parameter will force the html5 player to play MP4 assets even on devices that support hls.
Note: As the use of the tweaks parameter can involve native playback issues,
we cannot guarantee optimal playback experience on every Android device and OS
version.
|
Note: The legacy Player API had query string parameters for passing tags of ad server and
ad networks to the Ooyala player. For Player V3, the supported ad servers/networks and the
mechanisim for passing related tags is detailed in Player V3 Embedded Parameters for Ads (Deprecated).