Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
- #148 add onMetaDataChange event to extend clip properties, this was…
Browse files Browse the repository at this point in the history
… needed to prevent regular updates during stream switching.
  • Loading branch information
danrossi committed Nov 18, 2013
1 parent c030265 commit 035a64d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/javascript/flowplayer.js/flowplayer-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@
}

// 1. clip properties, 2-3. metadata, 4. updates, 5. resumes from nested clip
if (arg1 && "onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(evt) != -1) {
//#148 add onMetaDataChange event to extend clip properties, this was needed to prevent regular updates during stream switching.
if (arg1 && "onBeforeBegin,onMetaData,onMetaDataChange,onStart,onUpdate,onResume".indexOf(evt) != -1) {
// update clip properties
extend(target, arg1);

Expand Down

0 comments on commit 035a64d

Please sign in to comment.