Hi,
I am trying to get embedded flash going in a COREBlog2 blog entry.
So far, I have added the following to media_view.pt:
<metal:commentform_macro define-macro="file_video_x_flv">
<div class="contentsHanderItem">
<object type="video/x-flv"
data="http://localhost:8080/Plone/++resource++flowplayer/FlowPlayer.swf"
width="320" height="262" id="FlowPlayer">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie"
value="http://localhost:8080/Plone/++resource++flowplayer/FlowPlayer.swf" />
<param name="quality" value="high" />
<param name="scale" value="noScale" />
<param name="wmode" value="transparent" />
<param tal:attributes="value string:config={loop:
'false', videoFile: '${obj/absolute_url}', autoPlay: 'false' };"
name="flashvars" value="" />
</object>
</div>
</metal:commentform_macro>
And I added 'File:video/x-flv' to media_types.
To get the FlowPlayer, I added the latest Plone4ArtistsVideo Product.
As well, I added the MIME type x-flv.
I uploaded a FLV file as a File in COREBlog. I said it was an x-flv
file (so that is good) and I was able to watch the video when I clicked
on the FLV file in the Content listing -> Files. I then added the flv
as an object reference to a blog entry.
On the entry page it shows the FLV file name on the right hand side (and
as a link).
Based on some very simple tracking it seems to come up as a type
"Othrers" rather than file_video_x_flv. So, I am not sure why it can't
figure out it is the type 'file_video_x_flv'??
I would really appreciate any help and suggestions on this! I would
love to get it going.
Thanks,
Craig
_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]