Jump to content

Media on a Prim (shared media) with HUD problem??


RedEagle87
 Share

You are about to reply to a thread that has been inactive for 4058 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I am developing a HUD (head up display) using Media on prim. I was using the parcel media but it does not do the job (one stream only, does not work for a media player HUD). The media on prim solve the majority of limitations of parcel media.

I have two problems:

1)      users have to click at least once on the prim to activate the media feature (even with PRIM_MEDIA_AUTO_PLAY is activated and  different alterations in the parameters in the function like [ PRIM_MEDIA_FIRST_CLICK_INTERACT ] the effect is not created  ( I don't want the users to click on the prim so that media feature is activated with the standard or min controls or none (I use the 3 modes in different places in the HUD). I want the process to be automatic when the avatar attaches the HUD and when the avatar changes the URL stream say clicking on next button or moving to a region where another stram is available(although after the user click on the prim everything works fine, the linked messaging between scripts begins to work). I am using also data URI on the prim to show status info by HTML and CSS.

2)      Is there is a way to eliminate or add buttons on the default controls of media on prim(whether standard or mini) take away the zoom utility per example

Thank you for your help and time in advance.



Link to comment
Share on other sites

  • 3 weeks later...

that would be a correct syntax, no?

default{    state_entry()    {        llSay(0, "Yawn, script is finally compiled...");    }    touch_start(integer total_number)    {       llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_AGENT,llDetectedKey(0),PARCEL_MEDIA_COMMAND_URL,"http://sl.magnatune.com/Medieval",PARCEL_MEDIA_COMMAND_PLAY] );    }}

 it won't work for me. It's in an object I own, on a parcel I own...

 

edit: and the Music-URL line in about land is empty, of course

Link to comment
Share on other sites

is the media URL in about land unset as well? and the parcel not group owned? (just double checking)

is it in a format that quicktime plays?

 

otherwise it looks correct, I can't seem to find an open source version for comparison, though I've used a few different ones inwolrd that works this way, I've never personally built one =X

Link to comment
Share on other sites

dunno if you pulled the file, but i tried pulling it up in FF and while it grabs the file name, it doesn't actually play and errors out after about 30sec.

 

ETA:
just did some checking.... apparently music must be in a video wrapper format to work in this way... I can't confirm that, but it seems to be the case. this would probably require a special hosting option for most people.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4058 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...