Lines Matching refs:id

179       this.id = this.options.id || Popcorn.guid( nodeName );
182 if ( Popcorn.byId( this.id ) ) {
183 throw new Error( "Popcorn.js Error: Cannot use duplicate ID (" + this.id + ")" );
386 if ( instances[ i ].id === str ) {
664 exec: function( id, time, fn ) { argument
674 sec = Popcorn.util.toSeconds( id );
680 id = sec;
687 if ( typeof id === "number" && length === 2 ) {
689 time = id;
690 id = Popcorn.guid( "cue" );
703 trackEvent = this.getTrackEvent( id );
708 this.data.trackEvents.remove( id );
711 Popcorn.removeTrackEvent.ref( this, id );
717 if ( typeof id === "string" && length === 2 ) {
764 id: id,
782 options._id = options.id || options._id || Popcorn.guid( options._natives.type );
793 id: id,
1284 removeId = removeId.id;
1441 track._id = track.id || track._id || Popcorn.guid( track._natives.type );
1744 getTrackEvent: function( id ) { argument
1745 return Popcorn.getTrackEvent.call( null, this, id );
1752 removeTrackEvent: function( id ) { argument
1754 Popcorn.removeTrackEvent.call( null, this, id );
1884 track: Popcorn.getTrackEvent( this, options.id || options._id )
1895 track: Popcorn.getTrackEvent( this, options.id || options._id )
1943 "id: " + (options.id || options._id)
1974 options._id = options.id || options._id || Popcorn.guid( options._natives.type );
2018 Popcorn.p[ name ] = plugin[ name ] = function( id, options ) {
2026 if ( id && !options ) {
2027 options = id;
2028 id = null;
2032 trackEvent = this.getTrackEvent( id );
2037 options.id = id;
2084 this.data.trackEvents.remove( id );
2093 Popcorn.removeTrackEvent.ref( this, id );
2100 … trackEvent._id = trackEvent.id || trackEvent._id || Popcorn.guid( trackEvent._natives.type );
2124 id: trackEvent.id,
2137 id: trackEvent.id,