actionscript-flash中FLV视频的提示点监听器

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了actionscript-flash中FLV视频的提示点监听器相关的知识,希望对你有一定的参考价值。

basic structure of the actionscript function to listen for cuepoints embedded in a piece of FLV [flash video]. note: cuepoints need to have been embedded when the video was converted from its original format to FLV - prior to importing it into flash
  1. // add an event listener to the video to listen for cuepoints
  2. // in this case the videoclip instance name is 'vid'
  3. // if you change the instance name change the code accordingly
  4.  
  5. var listenerObject:Object = new Object();
  6. listenerObject.cuePoint = function(eventObject:Object):Void
  7. {
  8.  
  9. // stuff the function does goes below here
  10.  
  11.  
  12. // stuff the function does goes above here
  13.  
  14. }
  15. vid.addEventListener("cuePoint", listenerObject);

以上是关于actionscript-flash中FLV视频的提示点监听器的主要内容,如果未能解决你的问题,请参考以下文章

vue中播放flv格式视频(b站flv.js的使用)

如何在 HTML 视频标签中播放 FLV 视频?

actionscript-flash中的paypal按钮

使用flv.js实现html5播放flv格式视频文件

如何将flv格式转换成mp4格式

视频知识点(21)- FLV视频格式入门必看