We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
starttime
1 parent eb389c5 commit 22cf3ddCopy full SHA for 22cf3dd
src/js/player.js
@@ -1250,12 +1250,14 @@ class Player extends Component {
1250
*
1251
* @fires Player#firstplay
1252
* @listens Tech#firstplay
1253
+ * @deprecated As of 6.0 passing the `starttime` option to the player will be deprecated
1254
* @private
1255
*/
1256
handleTechFirstPlay_() {
1257
// If the first starttime attribute is specified
1258
// then we will start at the given offset in seconds
1259
if (this.options_.starttime) {
1260
+ log.warn('Passing the `starttime` option to the player will be deprecated in 6.0');
1261
this.currentTime(this.options_.starttime);
1262
}
1263
0 commit comments