Ticket #1416 (closed bug: fixed)

Opened 22 months ago

Last modified 21 months ago

Video tag source used even if Flash mode config specified

Reported by: pablo Owned by:
Priority: Milestone: Player 5.8
Component: embedding Keywords:
Cc: Forum thread: http://www.longtailvideo.com/support/forums/jw-player/bug-reports/21452/modes-config-ignored-if-video-tag-is-used

Description

If the player is embedded over a video tag with a source, the Flash mode file config option is ignored, when it should take precedence.

Example:

<video id="container" src="video.mp4"></video>
<script type="text/javascript">
	jwplayer("container").setup({
		'modes': [{
        	type: 'flash', src: 'player.swf',
    			config: { 'file': 'video.flv' }
		}]
	});
</script>

In this example, the mp4 file will be played in Flash mode, instead of the flv file.

Change History

comment:1 Changed 21 months ago by pablo

Fixed in [1954]

comment:2 Changed 21 months ago by pablo

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.