|
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
||||
|
I have prepared a number of wmv movie files which have a central linking theme.
They had to be separate files due to file size issues Is there a way to do an embed in Javascript, such that one wmv file can be called after the other has finished on the same page? Or is there a way to use a drop down menu, say, to select which file to be embeded. I realise for the second one it could be easier to write a page for each file and have an index page, even using frames, but I thought it would be interesting to do it on one page.
__________________
Moderations in purple Fame, glory, adventure, a cyber warrior craves not these things. To report a post (even this one) to the moderation team, click the reporting icon in the upper-right corner of the post: ![]() ───────────────────────────────────────────── ◄ Rules For Posting To This Board ► ◄ Forum FAQs ► ◄ Conspiracy Theory Advice ► ◄ Alternate Theory Advice ► |
|
||||
|
The answer to your questions is yes to both. I'm not a javascript guru, but I use a lot of cookie cutter code in the sites that I design. I would check out a couple of free java script and php sites.
Java: http://javascript.internet.com A little of everything (and great resource): http://www.hotscripts.com The following is an example of something I did using nothing more than an inline frame which may work for what you are doing. Take a look at the package selections about halfway down the page. http://www.weelectyou.com/supplies.html
__________________
Photons have mass? I didn't even know they were Catholic. |
|
||||
|
After giving up on trying to get document.embeds[0]. etc... to work I have gone for the inline frame and a select a movie option, which works well
thanks for pointing that one out to me, I may make further use of it later This is for a sort of post production CD-ROM of a series of events we held. A sort of souvenier to be mailed / given out to interested parties. Hence I wanted it to look as slick and as professional as I could make it. However I have run in to some awkward problems I wanted a folder structure where the video files (wmv format) are in a subfolder hanging off of a root. Hanging off of the same root would be a subfolder holding the html pages. This worked on my works computer, the <embed> was able to go up across and down, as it were and play the movie. On my PC at home, it does not like to go up, so I had to move the html pages in which I embed the wmv files, into the same sub folder as the wmv files. I did check my version of Windows media player and it is up todate on all updates. The works version of Windows Media player is version 8, at home I have version 10 Why the diference in behaviour, even though I have a more up to date version :-? The next problem I had, is that I tried to run what I had done through Mozilla firefox as an alternate platform to IE. Whilst FireFox would play wmv files I placed on the net, such as this one it would not play any of the ebeded wmv files on my hard drive. I just got the Media player viewer and a black screen Any clues? Also another trick I would like to do is that after the selected movie has finished playing I would like the inline framed page to be replaced by a page with an image, i.e the one they get when they first opened the web page. I know I could get the effect by making the page that embeds the wmv file into a redirecting page with a delay equal to the length of the movie, but that would not take into account the possibility of the movie running slower due to a PC memory problem Any ideas?
__________________
Moderations in purple Fame, glory, adventure, a cyber warrior craves not these things. To report a post (even this one) to the moderation team, click the reporting icon in the upper-right corner of the post: ![]() ───────────────────────────────────────────── ◄ Rules For Posting To This Board ► ◄ Forum FAQs ► ◄ Conspiracy Theory Advice ► ◄ Alternate Theory Advice ► |
|
||||
|
I did another test with Mozilla Firefox last night
It played the wmv file from this page when I looked at it on the net, but when I looked at the same page that sits as a mirror site on my hard drive, Firefox would not play it. Any ideas? I need to be able to test these pages both in IE and firefox, since Firefox is growing in popularity PS any thoughts on the other issue I mentioned previously, like how can a web page "know" when an embeded media file has finished playing?
__________________
Moderations in purple Fame, glory, adventure, a cyber warrior craves not these things. To report a post (even this one) to the moderation team, click the reporting icon in the upper-right corner of the post: ![]() ───────────────────────────────────────────── ◄ Rules For Posting To This Board ► ◄ Forum FAQs ► ◄ Conspiracy Theory Advice ► ◄ Alternate Theory Advice ► |
|
||||
|
I think this is a freeware application that may be of interest. Link to the hotscripts download and discription and to their home page.
http://www.hotscripts.com/Detailed/44960.htmlhttp://minimaldesign.net/other?sub=mgallery An interesting bit of Javascript that you be able to convert for your video display. http://javascript.internet.com/misce...ry-viewer.html ** Edited to fix html link
__________________
Photons have mass? I didn't even know they were Catholic. |
|
||||
|
Quote:
Looking at your script, part of the problem with you folder options might be due to the linking termonology. I've ran across the same problem using css in a subfolder and using image calls. Instead of using video/video_name.wvm, you might try one of the following structures: src="..//video/video_name.wvm This tells the browser to find the video not html subfolder, but to back out to the root folder and then look for the video in the video subfile.
__________________
Photons have mass? I didn't even know they were Catholic. |
|
||||
|
Quote:
Re the OnLoad stuff, the way to do a redirection page is with HTML, as this example from a previous presentation CD-ROM shows Quote:
:-?
__________________
Moderations in purple Fame, glory, adventure, a cyber warrior craves not these things. To report a post (even this one) to the moderation team, click the reporting icon in the upper-right corner of the post: ![]() ───────────────────────────────────────────── ◄ Rules For Posting To This Board ► ◄ Forum FAQs ► ◄ Conspiracy Theory Advice ► ◄ Alternate Theory Advice ► |
|
||||
|
One last thing I've found:
URL Flipping (from Microsoft tech library) using defaultFrame http://msdn.microsoft.com/library/de.../paramtags.asp Using media streaming and default frames: http://msdn.microsoft.com/library/de.../paramtags.asp You'll also see an extensive database on the right of these pages that have other interesting stuff, such as creating playlists and managing them.
__________________
Photons have mass? I didn't even know they were Catholic. |
|
||||
|
Quote:
Try src="../video/video_name.wmv Once, again, sorry about that.
__________________
Photons have mass? I didn't even know they were Catholic. |
|
||||
|
Quote:
Try src="../video/video_name.wmv Once, again, sorry about that.
__________________
Photons have mass? I didn't even know they were Catholic. |
|
||||
|
On trying that, it does not work
Right clicking on the player gave as part of the menu - Error details It said Quote:
Which was where I came in on this bug bear ![]()
__________________
Moderations in purple Fame, glory, adventure, a cyber warrior craves not these things. To report a post (even this one) to the moderation team, click the reporting icon in the upper-right corner of the post: ![]() ───────────────────────────────────────────── ◄ Rules For Posting To This Board ► ◄ Forum FAQs ► ◄ Conspiracy Theory Advice ► ◄ Alternate Theory Advice ► |
|
||||
|
Ouch, doesn't support relative paths. That's a bummer. The only way then, will be to move everything into the same directory like you've done or code in hard paths like:
http://www.yoursite.com/video/video_name.wmv
__________________
Photons have mass? I didn't even know they were Catholic. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|