synyx GmbH & Co. KG Homepage Welcome Guest   | Login
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Register  | Search  | Help  | RSS feeds


Quick Go »
Thread Status: Normal
Total posts in this thread: 4
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 1670 times and has 3 replies Next Thread
Male xs2abhishek1237
Stranger



Joined: Jun 23, 2009
Posts: 3
Status: Offline

Problem Embeding video

Hi,

I am a newbie to OpenCMS, I am trying to embed a .swf video to my HTML page, but am struggling to do so. The questing that I have is where in the VFS do we have to upload the video? I created a folder in my project where I uploaded a .swf file but I am trying to access it from my HTML using the path ProjectName/FolderName/VideoName.swf it does not come up in the page. I don't think that there is any problem with the HTML code as it works when I try to embed video not from OpenCMS.
Also is it possible to embed a video giving a path of the file which is present on the system and not in VFS.
Any help would be appreciated.

Regards & thanks,
Abhishek
[Jun 23, 2009 9:34:46 PM] Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Female olya
Newbie



Joined: Apr 18, 2007
Posts: 24
Status: Offline

Re: Problem Embeding video

You must include <object> tag into html source (in the Editor) with params and attributes.

For example,

<object id="..." width="320" height="240" classid="..." ....>
<param name="movie" value="/video/File.swf"/>
....
<embed src="/video/File.swf" ...>
</embed>
</object>
[Jun 25, 2009 11:51:26 AM] Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Male xs2abhishek1237
Stranger



Joined: Jun 23, 2009
Posts: 3
Status: Offline

Re: Problem Embeding video

Hi,

Thanks for you reply!! Well I already know that part and have been able to embed a video in HTML. The problem I'm facing in OpenCMS is I do not know how to point to the video in VFS. I have created a small project in which I have made a folder to hold videos.
Illustration:
ProjectName: playground
FolderName: video
FileName: test.swf

So this is the file structure in VFS when I try embedding the video I gave the path: playground/video/test.swf. But it does not work. I hope I make my point clearly!
Any help on this would be appreciated.

Thanks&Regards,
Abhishek
[Jun 25, 2009 9:35:58 PM] Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male Eska
Newbie



Joined: Jan 29, 2009
Posts: 24
Status: Offline

Re: Problem Embeding video

try something like the following to create the URL to the swf:

<cms:link>/video/File.swf</cms:link>
[Jul 1, 2009 8:53:39 AM] Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]