External(Kaltura) video doesn't play when block is on auto-retract
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi,
This one is similar to bug report - Bug #1565669
Embedded Kaltura video in Mahara not displaying when the setting retractable is set to Automatically retract.
The video will play when set to Retractable=Yes or Retractable=No.
This one is similar to bug report - Bug #1565669
Example Embed:
<iframe id="kaltura_player" src="https:/
Changed in mahara: | |
status: | Confirmed → In Progress |
milestone: | none → 18.10.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
The problem with Kaltura videos in automatically retracted blocks looks to be related to the external javascript from Kaltura the Mahara block fetches to render the video.
The Mahara block sets up some video information on page load
- but when the block is auto retracted it seems the video player knows it is not 'visible' on page and so fails to load some info.
I get this error: embedPlayer. kalturaPlayerMe taData is null
We probably need to alter how we load/start the Kaltura video and do it in a more controlled way. Possibly using the info here http:// player. kaltura. com/docs/ index.php? path=kwidget so that we can load the video on either page load or when a button is clicked (in this case when we expand the collapsed block)