Sets the ID or reference ID of the video in the player.Understanding iFrame sandboxes and iFrame securityĮmbedding third-party JavaScript in web applications is a tale as old as time. See the Deep Linking document for details. Sets the time offset from which a video will start playing. Also note that this parameter is available for the 6.25 version of the player or later. Note that you will need to URI encode the value - for example: referrer=http%3A%2F%. See the next section for further details.Īllows you to pass in the document.referrer along with other parameters to the iframe, allowing you to accurately track the referrer URL for the video. Possible values are none, metadata or auto. Informs the browser whether or not the video data should begin downloading as soon as the video tag is loaded. If the platform and OS allow it, will display video content within the player's playback area, meaning it won't be displayed fullscreen or in an independent, resizable window does work on iPhone and iPad Sets the initial video to be played in the video, which must be in the designated playlist. Sets the ID or reference ID of the playlist in the player. Sets the language (using a valid language code, usually two letters) for the player.Ĭauses the video to start over as soon as it ends. Note: This feature should only be used if you know that all your content (video and text tracks) have CORS headers applied to them.Ī Dynamic Delivery Rules configuration ID This means that any videos or text tracks pulled into the player must have CORS headers. element will have crossorigin="anonymous". When using query parameters that can only be true or false (data type Boolean), you simply include the query parameter to turn it on, or exclude it to turn it off. The table below details available parameters. Numerous query parameters are available for the iframe tag to provide additional information about how a player should behave. Browse the HTML page to see the player functioning.Copy the HTML from the browser and paste into the body of a full HTML page. The HTML will be similar to the following: Go to the MEDIA module and publish a video using the newly created player.Use the PLAYERS module to create a player.To use the iframe code follow these steps: You would either assign the video in the Players module or using curl. Usage Note: If you are a Brightcove Player customer, you will not use the videoId query parameter to assign a video to your player. This is often required for social media applications and sharing. The iframe player implementation code provides the ease of use of the player as a single, contained unit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |