mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
34 lines
1.2 KiB
ActionScript
34 lines
1.2 KiB
ActionScript
package org.osmf.captioning
|
|
{
|
|
import org.osmf.captioning.media.CaptioningProxyElement;
|
|
import org.osmf.media.MediaElement;
|
|
import org.osmf.media.MediaFactoryItem;
|
|
import org.osmf.media.PluginInfo;
|
|
import org.osmf.net.NetLoader;
|
|
|
|
public class CaptioningPluginInfo extends PluginInfo
|
|
{
|
|
|
|
public static const CAPTIONING_METADATA_NAMESPACE:String = "http://www.osmf.org/captioning/1.0";
|
|
|
|
public static const CAPTIONING_METADATA_KEY_URI:String = "uri";
|
|
|
|
public static const CAPTIONING_TEMPORAL_METADATA_NAMESPACE:String = "http://www.osmf.org/temporal/captioning";
|
|
|
|
public function CaptioningPluginInfo()
|
|
{
|
|
var _loc3_:Vector.<MediaFactoryItem> = new Vector.<MediaFactoryItem>();
|
|
var _loc2_:NetLoader = new NetLoader();
|
|
var _loc1_:MediaFactoryItem = new MediaFactoryItem("org.osmf.captioning.CaptioningPluginInfo",_loc2_.canHandleResource,createCaptioningProxyElement,"proxy");
|
|
_loc3_.push(_loc1_);
|
|
super(_loc3_);
|
|
}
|
|
|
|
private function createCaptioningProxyElement() : MediaElement
|
|
{
|
|
return new CaptioningProxyElement();
|
|
}
|
|
}
|
|
}
|
|
|