/
.embed()
.embed()
Description
The method TouchCastPlayerAPI.embed()
allows you to embed touchcast players into any webpage you want. You can embed an unlimited number of players.
TouchCastPlayerAPI.embed(config);
Parameters
Name | Description | Type |
---|---|---|
config | Object with these possible properties:
Also You can see all parameters for playerConfig in | object |
Example
TouchCastPlayerAPI.embed({ container: '#player-container', videoUrl: '//tc.touchcast.com/files/YSAgICAgICAgICAgICAgIE1uejVPOW80SjlINUdsT3kxR0cvbi9YUkhjNkZyaGJjd09IMk03SDU4N0NCU0p4cEZwOC9mK281NHhvUlhWSWQ=', playerId: , width: '960', height: '405', playerConfig: { controlsColor: 'rgba(79, 56, 189, 0.66)', playerBackgroundColor: '#b7c4c7', progressUpdateColor: 'green', interactiveTip: false, playControl: false, volumeControl: false, logoInControls: true, timingControl: false, infoControl: false, shareControl: false, commentsControl: false, summaryControl: true, searchControl: false, subtitlesControl: false, fullscreenControl: true, }, });
, multiple selections available,
Related content
Tutorial 01 - Programmatically Embed a TouchCast Player and Control it
Tutorial 01 - Programmatically Embed a TouchCast Player and Control it
More like this
TouchCast Studio: How Can I Embed A TouchCast On My Website?
TouchCast Studio: How Can I Embed A TouchCast On My Website?
More like this
Quick Start
Quick Start
More like this
Player API
Player API
More like this
Tutorial 02 - Connect to an Embedded TouchCast Player
Tutorial 02 - Connect to an Embedded TouchCast Player
More like this
Reference
Reference
More like this