You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the main video player of d.tube. It is hosted directly on github pages for simplicity. You can pass options to the player through the url hash fragment:
The syntax is as follow /#!/author/permlink/autoplay/branding
Author: the steem username of the account associated with the content
Permlink: the permlink of the steem content, or 'live' for the user livestream
Autoplay: true/false, default to false. If true, the video will start playing without click
Modest Branding: true/false, default to false. If true, the DTube logo will be hidden
There are also two optional arguments which can be attached to the url if needed:
provider: Can be used to specify a provider the player should use. For a list of supported providers see below. Can be set to default use the recommended settings.
additionalOptions: This is a URL-style key-value string which can be used to pass additional preferences to the player. For a list of currently implemented options see below.
Makes the video loop at the end. Currently not supported for: Twitch, Dailymotion, Instagram, LiveLeak and Facebook
JavaScript API
The embedded player can be controlled using JavaScript in compliance with the Player.js specification. You can use Player.js as a library to control the player.