|
|
Index
| Recent Threads
| Who's Online
| User List
| Register
| Search
| Help
| |
![]() |
OpenCms Forum » List all forums » Forum: I am a newbie and need experts help! » Thread: Problem Embeding video |
|
Thread Status: Normal Total posts in this thread: 4 |
[Add To My Favorites] [Watch this Thread] |
| Author |
|
|
Stranger
|
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 |
||
|
|
Newbie
|
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> |
||
|
|
Stranger
|
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 |
||
|
|
Newbie
|
try something like the following to create the URL to the swf: <cms:link>/video/File.swf</cms:link> |
||
|
| [Show Printable Version of Thread] |