Ticket #637 (closed bug: fixed)
RTMP audio replaces image while playing
| Reported by: | pablo | Owned by: | jeroen |
|---|---|---|---|
| Priority: | Milestone: | Flash 5.3 | |
| Component: | Keywords: | ||
| Cc: | pablo | Forum thread: | http://www.longtailvideo.com/support/forums/jw-player/bug-reports/8886/preview-image-disappears-streaming-mp3-wver-5 |
Description
When playing RTMP-streamed audio, the player removes the image from the display.
Change History
comment:2 Changed 3 years ago by pablo
- Status changed from closed to reopened
- Resolution fixed deleted
- Forum thread changed from 21119 to http://www.longtailvideo.com/support/forums/jw-player/bug-reports/8886/preview-image-disappears-streaming-mp3-wver-5
- Milestone changed from Flash 5.1 to Flash 5.3
The same problem occurs if the RTMP resource has an "mp3:" prefix.
From TimoK:
When I add a second condition to the if clause, it works!
RTMPMediaProvider Line 225
if (item.file.substr(-4) == '.mp3' || item.file.substr(0,4) == 'mp3:') {
comment:4 Changed 3 years ago by jeroen
- Cc pablo added
- Status changed from new to closed
- Resolution set to fixed
Amended three cases to this hack:
- item.file.substr(0,4) == 'mp3:'
- item.file.substr(-4) == '.aac'
- item.file.substr(-4) == '.m4a'
I wish there was a nicer way to do this. Unfortunately, doing stuff like checking the metadata for a videotrack is not possible. Not all videos have that metadata, causing the video not to appear, which is worse than hiding the thumb with audio.
Note: See
TracTickets for help on using
tickets.

Fixed in 5.0.748. Player checks file extension and leaves video as blank if it is an mp3