Lines Matching refs:type

519               plugin: event.type,
520 type: "trackend"
546 plugin: event.type,
547 type: "trackstart",
771 type: "cue"
782 options._id = options.id || options._id || Popcorn.guid( options._natives.type );
794 type: eventType,
925 isNative: function( type ) { argument
926 return !!internal.events.hash[ type ];
928 getInterface: function( type ) { argument
930 if ( !Popcorn.events.isNative( type ) ) {
942 if ( apihash[ tmp ][ type ] ) {
953 trigger: function( type, data ) {
955 events = this.data.events[ type ];
959 eventInterface = Popcorn.events.getInterface( type );
963 evt.initEvent( type, true, true, global, 1 );
981 listen: function( type, fn ) {
984 eventHook = Popcorn.events.hooks[ type ],
985 origType = type,
994 if ( !this.data.events[ type ] ) {
995 this.data.events[ type ] = [];
1009 type = eventHook.bind;
1025 if ( !this.data.events[ type ] ) {
1026 this.data.events[ type ] = [];
1033 this.data.events[ type ].push( fn );
1036 if ( !hasEvents && Popcorn.events.all.indexOf( type ) > -1 ) {
1037 this.media.addEventListener( type, function( event ) {
1038 if ( self.data.events[ type ] ) {
1040 clonedEvents = self.data.events[ type ].slice();
1051 unlisten: function( type, fn ) {
1053 events = this.data.events[ type ];
1081 this.data.events[ type ] = null;
1140 instance.data.running[ track._natives.type ].push( track );
1142 if ( !instance.data.disabled[ track._natives.type ] ) {
1148 plugin: track._natives.type,
1149 type: "trackstart",
1165 runningPlugins = instance.data.running[ track._natives.type ];
1170 if ( !instance.data.disabled[ track._natives.type ] ) {
1176 plugin: track._natives.type,
1177 type: "trackend",
1426 if ( track && track._natives && track._natives.type &&
1427 ( obj.options.defaults && obj.options.defaults[ track._natives.type ] ) ) {
1436 Popcorn.extend( track, obj.options.defaults[ track._natives.type ], temp );
1441 track._id = track.id || track._id || Popcorn.guid( track._natives.type );
1449 plugin: track._natives.type,
1450 type: "tracksetup",
1467 track._natives ? { plugin: track._natives.type } : {}, {
1468 type: "trackadded",
1502 plugin: track._natives.type,
1503 type: "trackremoved",
1567 byEnd, byStart, byAnimate, natives, type, runningPlugins;
1576 type = natives && natives.type;
1580 ( !!registryByName[ type ] ||
1581 !!obj[ type ] ) ) {
1586 runningPlugins = obj.data.running[ type ];
1589 if ( !obj.data.disabled[ type ] ) {
1595 plugin: type,
1596 type: trackend,
1615 type = natives && natives.type;
1618 ( !!registryByName[ type ] ||
1619 !!obj[ type ] ) ) {
1624 obj.data.running[ type ].push( byStart );
1626 if ( !obj.data.disabled[ type ] ) {
1632 plugin: type,
1633 type: trackstart,
1654 type = natives && natives.type;
1658 ( !!registryByName[ type ] ||
1659 !!obj[ type ] ) ) {
1664 runningPlugins = obj.data.running[ type ];
1667 if ( !obj.data.disabled[ type ] ) {
1673 plugin: type,
1674 type: trackend,
1692 type = natives && natives.type;
1696 ( !!registryByName[ type ] ||
1697 !!obj[ type ] ) ) {
1703 obj.data.running[ type ].push( byEnd );
1705 if ( !obj.data.disabled[ type ] ) {
1711 plugin: type,
1712 type: trackstart,
1852 options._natives.type = options._natives.plugin = name;
1868 runningPlugins = this.data.running[ natives.type ];
1882 plugin: natives.type,
1883 type: "trackend",
1894 type: "trackteardown",
1967 options._id = Popcorn.guid( options._natives.type );
1974 options._id = options.id || options._id || Popcorn.guid( options._natives.type );
1982 plugin: options._natives.type,
1983 type: "tracksetup",
2005 Popcorn.forEach( setup, function( callback, type ) { argument
2008 if ( blacklist.indexOf( type ) === -1 ) {
2009 this.on( type, callback );
2100 … trackEvent._id = trackEvent.id || trackEvent._id || Popcorn.guid( trackEvent._natives.type );
2107 plugin: trackEvent._natives.type,
2108 type: "tracksetup",
2125 type: "trackchange",
2134 if ( trackEvent._natives.type !== "cue" ) {
2138 type: "trackchange",
2179 type: name
2265 if ( byStart[ idx ] && byStart[ idx ]._natives && byStart[ idx ]._natives.type === name ) {
2281 if ( byEnd[ idx ] && byEnd[ idx ]._natives && byEnd[ idx ]._natives.type === name ) {
2290 … if ( animating[ idx ] && animating[ idx ]._natives && animating[ idx ]._natives.type === name ) {
2382 type: "GET", property in setup
2412 if ( settings.type === "GET" && settings.data ) {
2422 settings.ajax.open( settings.type, settings.url, settings.async );
2425 if ( settings.type === "POST" ) {