Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1 2 3 4  Previous   Next
adding movie trailers
Author Message
DVD Profiler Unlimited RegistrantStar Contributor?
?
Registered: March 14, 2007
Posts: 3,830
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
the best way to test a media file for playability is using your internet browser:
instead of typing the url go by its menu: File  > open and browse to the location where the media file is. Double clicking should start the media player, if not happens configure your player or windows what to do on that extension of the media file: *.mp3, *.mov, *.mpg, ...
you can do this either in the mediaplayer file association or by the folderoptions in your windowsbrowser: menu extra: folder options: window opens with 3 Tabs (Common, Display, File extensions) or something simular, take the file tab
example: go to the .mp3 extension
select change
either change the proposed program or select another program or browse to the program you wish that is used.
Sources for one or more of the changes and/or additions were not submitted. Please include the sources for your changes in the contribution notes, especially for cast and crew additions.
DVD Profiler Unlimited RegistrantMike
Registered: March 13, 2007
United States Posts: 453
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
So Im correct in assuminig all my files need to be .mov type becouse there is no way to accomadate two differant file types within the code?
DVD Profiler Unlimited RegistrantMike
Registered: March 13, 2007
United States Posts: 453
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
anyone know how I can make this work for 16 digit disc ids?
DVD Profiler Unlimited RegistrantStar Contributornorthbloke
Registered: March 15, 2007
Reputation: High Rating
United Kingdom Posts: 5,459
Posted:
PM this userDirect link to this postReply with quote
Quoting Mike:
Quote:
So Im correct in assuminig all my files need to be .mov type becouse there is no way to accomadate two differant file types within the code?

At the minute, yes.
There may be a way of incorporating some code and something in the Notes section to specify file type, but that's beyond my coding ability.

Quoting Mike:
Quote:
anyone know how I can make this work for 16 digit disc ids?

How do you mean? It should already work, all you need to do is add an I to the front of the ID as part of the file name.
 Last edited: by northbloke
DVD Profiler Unlimited RegistrantMike
Registered: March 13, 2007
United States Posts: 453
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Whered the I come from, I had no idea...Thanks

anyone know how I can default the volume all the way up?
DVD Profiler Desktop and Mobile RegistrantMarEll
Registered: June 9, 2007
United Kingdom Posts: 1,208
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting Mike:
Quote:
So Im correct in assuminig all my files need to be .mov type becouse there is no way to accomadate two differant file types within the code?


The code I'm using for my trailers allows for different filetypes.  Post up the code you are using and I'll see if I can help, dont hold your breath though, I'm only slightly above novice level myslef
DVD Profiler Unlimited RegistrantMike
Registered: March 13, 2007
United States Posts: 453
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
<HTML>
<HEAD>

<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->
</SCRIPT>

</HEAD>
<BODY>
<DP NAME="UPC" Formatted="false">
<SCRIPT>
document.write('<OBJECT id="VIDEO" style="position:absolute; left:0;top:0;" width="471" height="338" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">')
document.write('<PARAM NAME="URL" VALUE="D:/Movie Trailers/' + DP_UPC + '.mov"><PARAM NAME="AutoStart" VALUE="True">')
document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"></OBJECT>')
</SCRIPT>
</BODY>
</HTML>
DVD Profiler Unlimited RegistrantStar Contributornorthbloke
Registered: March 15, 2007
Reputation: High Rating
United Kingdom Posts: 5,459
Posted:
PM this userDirect link to this postReply with quote
Quoting Mike:
Quote:
Whered the I come from, I had no idea...Thanks

anyone know how I can default the volume all the way up?


Try replacing:

document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"></OBJECT>')

With:

document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"><PARAM NAME="Volume" VALUE="100"></OBJECT>')
DVD Profiler Unlimited RegistrantMike
Registered: March 13, 2007
United States Posts: 453
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Quoting northbloke:
Quote:
Quoting Mike:
Quote:
Whered the I come from, I had no idea...Thanks

anyone know how I can default the volume all the way up?


Try replacing:

document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"></OBJECT>')

With:

document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"><PARAM NAME="Volume" VALUE="100"></OBJECT>')

Thank You
DVD Profiler Desktop and Mobile RegistrantMarEll
Registered: June 9, 2007
United Kingdom Posts: 1,208
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Ok give this a go:

Quote:

<HTML>
<HEAD>

<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->
</SCRIPT>

</HEAD>
<BODY>

<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":
document.write('<OBJECT id="VIDEO" style="position:absolute; left:0;top:0;" width="471" height="338" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">')
document.write('<PARAM NAME="URL" VALUE="D:/Movie Trailers/' + DP_UPC + '.wmv"><PARAM NAME="AutoStart" VALUE="True">')
document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"><PARAM NAME="Volume" VALUE="100"></OBJECT>');
        break myloop;
      case "trailer/MOV":
document.write('<OBJECT id="VIDEO" style="position:absolute; left:0;top:0;" width="471" height="338" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">')
document.write('<PARAM NAME="URL" VALUE="D:/Movie Trailers/' + DP_UPC + '.mov"><PARAM NAME="AutoStart" VALUE="True">')
document.write('<PARAM name="uiMode" value="mini"><PARAM name="PlayCount" value="1"><PARAM NAME="Volume" VALUE="100"></OBJECT>');
        break myloop;
        }
  }

}
</SCRIPT>

</BODY>
</HTML>


You'll need to tell the code what type of file it is with a tag.  Create a tag named 'trailer' with 2 child tags named 'WMV' and 'MOV' (these are case sensitive).  Then just use the correct tag for the filetype of your trailer.

Done a bit of testing and it seems to work fine with me.  Not sure if it will do this for you but for me mov files do not play automatically, I'm required to hit play then wmp goes looking for the codecs.  wmv files play automatically fine.  Also tried it with vob files but as wmp doesnt support them they do not play.

Now if only I could embed a powerdvd player into a html window...

Edited to change the case of the tags, apparently they are case sensitive.
 Last edited: by MarEll
DVD Profiler Unlimited RegistrantMike
Registered: March 13, 2007
United States Posts: 453
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Is there a way to use quicktime instead of windows media?

I have only two trailers that for some reason stopped working properly just some strange noise. All of my trailers are from quicktime and have all worked up until now when the two stopped.

Anyway since there all .mov I thought it would be easier to just use quicktime if its possible?

*Seems like my problem is no matter how I try to save it for some reason its saving them as audio files*
 Last edited: by Mike
DVD Profiler Desktop and Mobile RegistrantMarEll
Registered: June 9, 2007
United Kingdom Posts: 1,208
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
If WMP isn't playing them, it could be a codec issue.  I highly recommend downloading the quicktime alternative codec pack.  That should allow any player to play mov files.

Does quicktime play the files ok?  If so then I don't think there'd be a problem using that instead.  To make quicktime the default player for mov files right click the file, goto open with, then choose program and select or browse to quicktime.  Don't forget to tick the 'always use' checkbox.
DVD Profiler Unlimited RegistrantMike
Registered: March 13, 2007
United States Posts: 453
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Quoting MarEll:
Quote:
If WMP isn't playing them, it could be a codec issue.  [b]I highly recommend downloading the quicktime alternative codec pack.  That should allow any player to play mov files.
[/b]
Does quicktime play the files ok?  If so then I don't think there'd be a problem using that instead.  To make quicktime the default player for mov files right click the file, goto open with, then choose program and select or browse to quicktime.  Don't forget to tick the 'always use' checkbox.



Where can I find this codec package your talking about?

Also I cant just make quicktime the default player its built in code for the HTML window in Dvd Profiler I think.
DVD Profiler Unlimited RegistrantStar Contributordee1959jay
Registered: March 19, 2007
Reputation: Highest Rating
Netherlands Posts: 6,018
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quicktime Alternative can be downloaded here.
 Last edited: by dee1959jay
    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1 2 3 4  Previous   Next