Ticket #256 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

If no media file is returned after filtering (based on mp4 etc.) player hangs

Reported by: paul Owned by: paul
Priority: blocker Milestone: OVA for Flowplayer (v1.0.0)
Component: OVA for Flowplayer Version: OVA for Flowplayer (trunk)
Keywords: Cc:
Forum thread:

Description

Player hangs if ad stream file name is "null" - e.g. no media file found when the filtering is in place. See Shirly's mp4 example

Change History

comment:1 Changed 2 years ago by paul

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

Fixed. Modified AdSlot.isActive() to ensure it only indicates it's active is it has a non-empty linear ad or non-linear ads. Non empty linear ads must have a media file.

public function isActive():Boolean {

if(_videoAd != null) {

return (_videoAd.hasEmptyLinearAd() == false
_videoAd.hasEmptyNonLinearAds() == false);

}
return false;

return (_videoAd != null);

}

Note: See TracTickets for help on using tickets.