cancel
Showing results for 
Search instead for 
Did you mean: 

Insert flv files into blogs, discussions, wiki etc.

mehos
Champ in-the-making
Champ in-the-making
Hi,
I found a way inserting videos as <object></object> statetments in raw html mode like this.

But when i try  edit posted blog entry or wiki page it dissapering and i have to insert it again.

Moreover, it visible only in blog list.
[img]http://content.screencast.com/users/mehos/folders/Jing/media/99d095ff-e85f-46bf-aea1-37a5a14e7703/20...[/img]
But when i click on post, looks like alfresco filter video object, so i even can't point to specifig blog entry because there are no video in it, just text only.
[img]http://content.screencast.com/users/mehos/folders/Jing/media/a0536cd6-220f-4395-a97b-8f5318376216/20...[/img]

Is there a easy way to integrate for example 'flow player' to handle flv files?

Thanks,
Michael.
10 REPLIES 10

cloudcontrol
Champ in-the-making
Champ in-the-making
Just wanted to post current workaround I am using to post videos to wiki in 3.2R2 community edition:

    1. Signed up for sublimevideo.net beta
    2. Registerd site FQDN with sublimevideo.net
    3. Copied embed javascript tag assigned to my FQDN and inserted in /webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/wiki/page.get.head.ftl
    4. Use webdav connection to mount the share site and upload a page manually into the wiki folder (thereby bypassing the TinyMCE editor)
    5. In the wiki article, add link to this page and set target to new window
It's not very pretty, but it works with HTML5 and fallback to flash.  Here's a simple code snippet for the file (which you may want title DO NOT EDIT IN WIKI):


<video class="sublime" width="640" height="360" poster="/share/proxy/alfresco-feed/api/node/content/workspace/SpacesStore/ac6d2bca-f6e2-47e7-9258-2de091972b17/poster-pic.jpg" preload="none">
  <source src="/share/proxy/alfresco-feed/api/node/content/workspace/SpacesStore/176e8462-69f1-4d2a-a0cd-b87ea09cd9e9/video-name.mp4" />
</video>

It would be great to fix TinyMCE- it's code stripping tendencies are a PITA frequently mentioned in many CMS forums. Like many things Alfresco, proficiency in javascript is the first requirement to cracking this nut.