Hello Everyone,
Where can I find more info about the SMIL plugin for Strobe? I'm trying to config this but got stuck and cant get this plugin run, there is any way to check if the strobe loads the plugin?
I'm trying to load the plugin with the following flashvars :
&plugin_smil=<src_of_plugin>
&smil_namespace=<no_idea_what_is_this>
&smil_retryLive=true
&myPlugin1_retryInterval=10
What is this namespace? And the source can be a local path (like this 'resources/SMILPlugin.swf')?
Thanks and Happy New Year!
Anderson
Hi Anderson,
I created a wiki page for this: http://sourceforge.net/adobe/smp/wiki/Using%20the%20SMILPlugin%20in%20 Strobe%20Media%20Playback/
The SMILPlugin does not need any metadata, so you don't need to worry about namespaces.
Check the OSMF Metadata specs for a discussion about metadata and namespaces. You can also check the Plugin Dev Guide for some additional context.
Let us know how it goes!
Andrian
Thanks Andrian for the response.
I still have problems to play my smil files, the player displays a buffering screen and nothing happens
This is how I'm using the Strobe:
<script type="text/javascript">
var flashObject = '<object type="application/x-shockwave-flash" name="flashPlayer" data="resources/StrobeMediaPlayback.swf" width="512" height="288" id="flashPlayer" style="visibility: visible; ">'+
'<param name="allowFullScreen" value="true"/>'+
'<param name="wmode" value="transparent"/>'+
'<param name="quality" value="high"/>'+
'<param name="allowScriptAccess" value="always"/>'+
'<param name="bgcolor" value="FFFFFF"/>'+
'<param name="flashvars" value="autoPlay=true'+
'&urlIncludesFMSApplicationInstance=true'+
'&plugin_smil=http://osmf.org/dev/1.5.rc1/SMILPlugin.swf'+
'"/>'+
'</object>';
writeInPage(flashObject);
</script>
And the SMIL file is the same used in the wiki example
I´m missing something?
Hello,
I`m having trouble in both ways. I`ll try to demonstrate how is my configuration:
rtmp://192.168.1.149/medias/andi/6-6108896527426750337.smil - URL of FMS hosting my SMIL file. Not working.
I put a SMIL file in my Apache server and I can play it on Strobe setting the src like this:
player.setMediaResourceURL('http://192.168.1.149/teste.smil'); - Works fine.
My SMIL file, as you can see in the following:
<smil>
<head></head>
<body>
<seq>
<video src="rtmp://cp67126.edgefcs.net/ondemand/mp4:mediapm/ovp/content/demo /video/elephants_dream/elephants_dream_768x428_24.0fps_408kbps.mp4" system-bitrate="408000"/>
<video region="content" src="http://mediapm.edgesuite.net/strobe/content/test/AFaerysTale_sylviaApo stol_640_500_short.flv" />
<video region="content" src="rtmp://192.168.1.149/medias/andi/2-3120547504959863507.flv" />
</seq>
</body>
</smil>
Runs the first and the second video, but stops on the third. What I`m doing wrong? Am I missing some configuration on FMS? Sorry I`m still learning.
Thanks in advance.
Anderson
Do you still use urlIncludesFMSApplicationInstance=true ? Please set it to false.
I tried to replicate your situation:
smil contents:
<?xml version="1.0" encoding="utf-8"?>
<smil>
<head></head>
<body>
<seq>
<video src="rtmp://cp67126.edgefcs.net/ondemand/mp4:mediapm/ovp/content/demo /video/elephants_dream/elephants_dream_768x428_24.0fps_408kbps.mp4" system-bitrate="408000"/>
<video region="content" src="http://mediapm.edgesuite.net/strobe/content/test/AFaerysTale_sylviaApo stol_640_500_short.flv" />
<video region="content" src="rtmp:/otherinternalserver/vod/va/all_video_assets/1000/stream" />
</seq>
</body>
</smil>
my FMS setup:
- default vod streaming application
- VOD configuration set up to read files from a different directory
Is your FMS setup based on application instances, or are those subdirectories?
I looked in the plugin code and it does not support urlIncludesFMSApplicationInstance in smils.
I think you have 3 possible solutions:
- You could post an improvement request in the bugbase http://bugs.adobe.com/jira/browse/FM and wait for a fix
- You could try to modify the SMIL Plugin code and add the necessary code to support passing urlIncludesFMSApplicationInstance in a smil tag
(in SMILMediaGenerator.as and SMILParser.as)
- You can modify your FMS setup (add a new app instead of an instance )
Andrian,
The SourceForge wiki link you provided does not appear to work any more (nor do many other SourceForge wiki links I have spotted on these forums). Evidently SourceForge requires write access to the Wiki in order to simply view a page? Am I not cool enough for documentation?
Dreadful, and I am still very much up a creek... but my time working with OSMF in general has taught me patience and reinforced my belief in an alternate reality where Adobe framework documentation is both consolidated and correct!
Anyway, sorry to dredge up an old topic and then turn it into a rant, I'm just so sick of all the dead ends!
Thanks,
Dylan
Strobe Media Playback does support M3U (albeit not XML) playlists out of the box, but I needed to support MRSS (XML) playlists for my project. No worries there, a few modifications to the PlaylistLoader and PlaylistParser classes and now my Strobe(ish) player retrieves video segments, captions and metadata without any confusing proxy chain modifications, bleck. Hope that puts you in the right direction ![]()
Dylan
hi dylan,
Yeah.... I did the same... but messed up when it came to matching the tags... Could you just please guide me through the two files - PlaylistLoader and PlaylistParser? I placed the XML file with the metadata in the assets folder under the project.
its comparitively easy building in Flash Professional but when it comes to builder it gets a bit tough...
A lot interested and eager for your response dylan. May I have a reference to your files?
Thanks a lot.
I went through this turorial and mapped it onto my SMP...
http://republicofcode.com/tutorials/flash/as3xmlvideoplayer/
Ankit
First I replaced the M3U file extension check on the resource ("src" flashVar) in PlaylistLoader.as cahHandleResource:
if (supported == MediaTypeUtil.METADATA_MATCH_FOUND)
{
return true;
}
else if (resource is URLResource)
{
var urlResource:URLResource = URLResource(resource);
return (urlResource.url.toLowerCase().indexOf("videogateway") > -1); // Checking for my own MRSS playlist gateway...
}
else return false;
Then I altered PlaylistParser.as parse method to return a Vector.<MediaResourceBase> based on my own XML parsing scheme as opposed to the M3U scheme that was in place...
I hope that helps...
North America
Europe, Middle East and Africa
Asia Pacific