Author |
Message |
Registered: March 17, 2007 | Posts: 28 |
| Posted: | | | | I have spent the past 3 days reading the forum about getting trailers to work in the Notes Section. I understand generally what needs to happen, and I can get the you-tube videos to embed fine, but some of the other coding didnt work for me. I'm generally good with html, but the scripting is bad for me. I'd appreciate any help that I can get to help me close in on getting my system to work.
My questions are as follows:
1 - What is your opinion as the best overall method? Embedding the youtube trailers, which can eventually disappear, OR somehow save the trailer to my own hard drive and connect it to the notes section that way?
2 - Having got the youtube trailers to embed fine using thier own code, I found that personally I like the look and feel of the trailers from IMDB much better. Can someone help me with a simple embed code that I can use to connect with these trailers in my Notes window? Im just a goob so some of the long codes I saw on these threads seem to be too complex for me to edit alone for each movie. I just couldnt get them to work.
I appreciate any help I can get, I would love to be able to make my DVD Profiler more interactive by way of trailers. I dont know about you, but at over 700 movies, I dont remember each and every one to be able to choose our next showing, haha. Trailers help me out alot!
Thanks again. |
|
Registered: June 9, 2007 | Posts: 1,208 |
| Posted: | | | | Personally I download/rip the trailers to my hdd then use a HTML window to display a link which fires up powerdvd with the trailer when clicked, much less labour intensive than using the notes section. I'll provide the code if you want to do it this way. Either way I'd recommend downloading trailers rather than streaming, can't beat the quality of a 720p trailer (unless you dl the 1080p of course though personally I consider them overkill). DTP and HDT are 2 good sites to dl high quality trailers. | | | Last edited: by MarEll |
|
Registered: March 17, 2007 | Posts: 28 |
| Posted: | | | | See? I wanted to download rather than stream, but couldnt seem to figure it out enough to get it to work. I'd appreciate the directions if you dont mind. Thanks a bunch! |
|
Registered: March 15, 2007 | Reputation: | Posts: 5,459 |
| Posted: | | | | One thing to remember about putting trailers in the Notes section is that you'll have to add each video file individually. You might be better off looking at an HTML window to do it instead. As long as your trailers are all stored somewhere and named something predictable it should be possible to semi-automate the actual embedding. This isn't exactly what you wanted - this is code for providing a link to a local trailer, but I think it could be adapted to embed instead:
<HTML> <HEAD>
<SCRIPT TYPE="text/javascript"> <!-- <DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False"> //--> var playlink = "\\\\server\\dvd movies\\" playlink = "<a href='" + playlink + DP_Title + ".avi' target='_blank'>Play Movie</a>" </SCRIPT>
</HEAD> <BODY> <script> document.write(playlink) </script>
</BODY> </HTML>
If you create an HTML window using this code it will display a link to a trailer named the same as the DVD title in an avi format. The person who asked for this code was using a local server hence the "\\\\server\\dvd movies" folder format, but that's easy enough to change. |
|
Registered: May 27, 2007 | Posts: 691 |
| Posted: | | | | Thanks. Now I need to get my server working again | | | Unfortunately, I can't use DVDprofiler at the moment due to lack of a Windows computer. |
|
Registered: June 9, 2007 | Posts: 1,208 |
| Posted: | | | | Quoting Restless: Quote: See? I wanted to download rather than stream, but couldnt seem to figure it out enough to get it to work. I'd appreciate the directions if you dont mind. Thanks a bunch! I'll post up the code I use but as I said it's not an embedded player. If you tell me a couple of things I'll customise the code for you, where will the trailers be stored (file path), what file types will you be using I use wmv, mov and vob) and do you want to name trailers after the collection number or title they have in profiler (I use coll number)? |
|
Registered: March 17, 2007 | Posts: 28 |
| Posted: | | | | Awesome, thanks. I got this line of code to work and actually play. The various trailers are diffrent sizes, of course, and without it being an embedded player, I cant get the display to be all one size for all. Here's what I have so far, which includes the path to my trailer storage. Thanks again.
<a href="F:/Maxtor Sync/VOL/Movie Trailers/FILENAME.mov"><br><br><br>click to watch theatrical trailer</a>
PS - I like the idea of renaming the files according to collection number, so I can definitely do that. Just let me know what format to use...is it 'coll123', or just the number '123' ? Thanks. | | | Last edited: by Restless |
|
Registered: June 9, 2007 | Posts: 1,208 |
| Posted: | | | | Ok give this a go, creat a new HTML window and paste in the code below: Quote:
<HTML> <HEAD>
<SCRIPT TYPE="text/javascript"> <!-- <DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False"> //--> </SCRIPT>
<SCRIPT language=javascript> window.onload = window_onload; function window_onload() { var i; myloop: for (i = 0; i < DP_Tags.length; i++) { switch (DP_Tags[i]) { case "Trailer/WMV": idPlay.href = "F:\\Maxtor Sync\\VOL\\Movie Trailers\\" + DP_CollectionNumber + ".wmv"; break myloop; case "Trailer/MOV": idPlay.href = "F:\\Maxtor Sync\\VOL\\Movie Trailers\\" + DP_CollectionNumber + ".mov"; break myloop; case "Trailer/VOB": idPlay.href = "F:\\Maxtor Sync\\VOL\\Movie Trailers\\" + DP_CollectionNumber + ".vob"; break myloop; } } if (i >= DP_Tags.length) { idPlay.removeNode(true); } } </SCRIPT>
</HEAD> <BODY>
<A id=idPlay href="#">Play Trailer</A>
</BODY> </HTML>
To make this work you need to rename your trailers with the coll number they have in profiler (so just 123.mov for example, you could have coll123.mov if you wanted, but the code would need to be altered to allow that). Then create a tag called Trailer with 3 child tags called MOV , WMV and VOB (these are case sensitive). This will allow for 3 file types. Then just tag each profile that has a trailer with the tag matching the file type. That should do the trick, give me a shout if you have any trouble. Just want to say thanks to whoever it was who originally helped me with this, northbloke maybe?? |
|
Registered: March 15, 2007 | Reputation: | Posts: 5,459 |
| Posted: | | | | Quoting MarEll: Quote: Just want to say thanks to whoever it was who originally helped me with this, northbloke maybe?? Looks too fancy for me, but I'm not shy - I'll take the glory! |
|
Registered: January 27, 2009 | Posts: 181 |
| Posted: | | | | Quoting MarEll: Quote: Ok give this a go, creat a new HTML window and paste in the code below:
Looks good, but the only drawback I see is if you one day decide to renumber your collection. Oops, pointing to wrong vids. Would it be wiser to link to UPC's? which do not change. | | | Last edited: by specise_8472 |
|
Registered: June 9, 2007 | Posts: 1,208 |
| Posted: | | | | Quoting specise_8472: Quote: Quoting MarEll:
Quote: Ok give this a go, creat a new HTML window and paste in the code below:
Looks good, but the only drawback I see is if you one day decide to renumber your collection. Oops, pointing to wrong vids. Would it be wiser to link to UPC's? which do not change. Good point. But in my case I only use the collection number for these trailers so I have no reason to change them. I originally thought about using UPCs but it would take forever typing them in And as I said I have no other use for the collection numbers so that was the logical choice. You're right though, if you renumber regularly (why I don't know lol), UPC would probably be the way to go. Edit: I realised recently that if I assign identical coll #s to double dips (BDs and such) I can have the link pointing to the same trailer. | | | Last edited: by MarEll |
|
Registered: March 17, 2007 | Posts: 28 |
| Posted: | | | | Thank you for the help, I got swamped again and will have to try this later. I do appreciate it though, so thanks again! |
|