Ticket #495 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

issue with "ITEM" event immediately after playlist load

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

Description (last modified by jeroen) (diff)

I have an issue in IE with a simple player loading in a playlist and auto starting the first item in the list through code. I know I could set the player to autostart in the BOTR control panel. But I wish to do this through code, as I won't ALWAYS want to either have a player auto start, or manual start for all my videos that use that player (I might wish to start the playlist at a random video for instance).

Anyway, the core problem is that it all works fine in Firefox, but IE does not like it at all for some reason, and refuses to auto start. If you take a look at the HTML and JS code, it is quite simple but do you know why it is not working in IE?

Change History

comment:1 Changed 4 years ago by jeroen

Confirmed; the issue also pops up in Safari:

TypeError: Error #1010: A term is undefined and has no properties.
	at com.jeroenwijering.plugins::Playlist/itemHandler()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.jeroenwijering.player::Controller/sendEvent()
	at com.jeroenwijering.player::Controller/playItem()
	at com.jeroenwijering.player::Controller/itemHandler()
	at flash.events::EventDispatcher/dispatchEventFunction()
	...     

comment:2 Changed 4 years ago by jeroen

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

Fixed further up the stack by letting the Controller verify that ITEM is actually in the playlist.

Note: See TracTickets for help on using tickets.