Ticket #1274 (closed bug: fixed)
Width / height properties in quotes don't work
| Reported by: | pablo | Owned by: | zach |
|---|---|---|---|
| Priority: | Milestone: | Player 5.5 | |
| Component: | embedding | Keywords: | |
| Cc: | Forum thread: | http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/18319/jw-embedder-and-ie78-with-no-flash |
Description (last modified by pablo) (diff)
From Darren:
Interestingly, with this version, width and height values are ignored for the Flash
embed (width and height are set at 100% in the Object tag) if they are wrapped in
quotation marks whereas with the current stable 5.5 release, it still works. That is,
this used to work but doesn't with the code from trunk:
jwplayer('mediaplayer').setup({
...
'width': '480',
'height': '270',
});
This does work:
jwplayer('mediaplayer').setup({
...
'width': 480,
'height': 270,
});
I mention it in case you want to maintain backwards compatibility for others
that may find their Flash embeds stop working (I got a white screen with no
video on Firefox because the width and height were set at 100% in the Object
tag). I copied the code from this page which won't work with the current trunk
version:
http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/18508/jw-embedder-modes
Change History
Note: See
TracTickets for help on using
tickets.
