Ticket #383 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

yt.swf loads incorrectly if player.swf is loaded with a "?" in URL

Reported by: pablo Owned by:
Priority: Milestone: Flash 4.4
Component: Keywords:
Cc: jeroen Forum thread:

Description

http://www.longtailvideo.com/support/forum/Bug-Reports/14920/Load-player-swf-in-my-swf-YouTube-Issue#msg102523

If a player is loaded with the flashvars in its url, and if the flashvars have a slash somewhere inside them, yt.swf will be loaded from an incorrect location.

example:

<embed src=" http://www.mysite.com/player.swf?file=http://anothersite.com/wronglocation/video.flv" />

Change History

comment:1 Changed 4 years ago by jeroen

  • Status changed from new to closed
  • Resolution set to fixed

Fixed by getting the last / BEFORE the .swf string.

Note: See TracTickets for help on using tickets.