Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#89 EMBED with relative SRC doesn't work

closed-works-for-me
Kevin DeKorte
None
5
2006-01-11
2006-01-03
No

EMBED elements with relative SRC are not treated
properly. The relative URL is passed directly to
mplayer, and obviously mpklayer cannot open it.

See for example:
http://fredrik.hubbe.net/plugger/menu.html?f=test.mov

This causes the following command to be executed:
mplayer -wid 0x2a3b6ac -xy 200 -user-agent NSPlayer
-osdleve l 0 -nojoystick -noconsolecontrols -cookies
-slave -nomouseinput test.mov in sendcommand - command
get_time_length

BTW, if we're passing the URL directly to MPlayer and
not to NPN_GetValue, we can use the code in:
http://lxr.mozilla.org/mozilla/source/modules/plugin/base/src/nsPluginHostImpl.cpp#5677
( see function nsPluginHostImpl::NewPluginURLStream ).

Discussion

  • Kevin DeKorte
    Kevin DeKorte
    2006-01-04

    Logged In: YES
    user_id=685413

    No problem found. do you have any setting in your config file.

     
  • Kevin DeKorte
    Kevin DeKorte
    2006-01-04

    • status: open --> closed-works-for-me
     
  • Logged In: YES
    user_id=335423

    Apparently, this bug is triggered by nomediacache=1.

    If it's set, we pass the URL directly to mplayer. However,
    we must resolve relative URLs to absolute in this case and
    we don't do it.

     
  • Kevin DeKorte
    Kevin DeKorte
    2006-01-11

    • assigned_to: nobody --> kdekorte