Choosing the Right Publishing Code to Use

Product
Video Cloud
Applies to Roles
Publisher
Version
Brightcove 5
Modules
Publishing Module
Edition
All

Video Cloud provides four code options for publishing a player. Here's a quick guide to choosing the correct player publishing code for the situation. Learn more about creating code with the Quick Video Publishing feature.

Publishing Code Type

When to Use It

JavaScript
(Quick Video Publish "Website" code)

The recommended code for most purposes. Use this code to embed a player in an HTML (web) page. You must use this code to publish HTML5 players on devices such as iPhones and iPads. Smart players will not work on iPhones and iPads unless you use this form of the code.

ActionScript

Use this code if the player will be embedded in a Flash container or Flex application.

HTML to Embed
(Quick Video Publish "Blog" code)

Use this code only in situations where JavaScript is not permitted. This is true of many blogs, though it means that the player will not work if the blog is viewed on an iPhone or iPad.

Player URL
(Quick Video Publish "URL" code)

Use this code for the value of the src attribute in an iframe. You can also use this to provide a link to a stand-alone player.

 

Tags
embed code, snippet