add native Video Object to osmf


hi, strange reasons had construct native video, netconnection , nestream object. can add native video object mediaplayer.media because whole player based on osmf , don't want rewrite without osmf.

 

thanx.

to pass in own netstream, you'd need define custom netloader subclass overrides createnetstream method, , use object parameter videoelement.

 

to pass in own netconnection, you'd need create custom netconnectionfactorybase subclass returns netconnection in event when create() method invoked, , use object parameter netloader.

 

there's no "official" way pass in own video.  there's undocumented (protected) createvideo method on videoelement, override return own video object.  (note undocumented api subject change, should try avoid relying on them.)



More discussions in Developers


adobe

Comments

Popular posts from this blog

Christian Home School Programs - Joomla! Forum - community, help and support

Typo in documentation

captcha in coldfusion MX