Forum Discussion
full screen video button?
It looks like that web objects (Iframe) are now all allowed to have a full-screen button.
I tested this with a HTML5 video player and it works on IE, FF and Chrome.
I'm going to test this on an LMS enviroment also this week. I expect this to work.
If it doenst work, then that is because of the coding of Youtube, Vimeo or Brightcove etc.
Not because of Articulate.
As you can see below, SL360 output (and maybe als SL2 update and SL3 also soon) have the fullscreen attributes allowed now. Do I say this correctly Ashley?
SL2 (2.7) output (story.js)
// Create the iframe
var oIFrame = document.createElement('iframe');
oIFrame.frameBorder = "0";
oIFrame.id = "div" + strId;
oIFrame.style.border = "0";
oIFrame.style.width = "100%";
oIFrame.style.height = "100%";
oIFrame.allowtransparency = "true";
SL360 (3.4) output (story.js)
// Create the iframe
var oIFrame = document.createElement('iframe');
oIFrame.frameBorder = "0";
oIFrame.id = "div" + strId;
oIFrame.style.border = "0";
oIFrame.style.width = "100%";
oIFrame.style.height = "100%";
oIFrame.allowtransparency = "true";
oIFrame.setAttribute('allowFullScreen', '');
oIFrame.setAttribute('webkitallowFullScreen', '');
oIFrame.setAttribute('mozallowFullScreen', '');
For the ones that are still working with SL2, there is a work around for this. You can force these attributes to be added with coding. This is being explained earlier in this thread.
I do want to point out something to Articulate.
When reviewing the test course online with the SL360 online review option, the full-screen button was not present anymore. So I guess the Iframe there (which loads the content) is still not allowing the full-screen attributes.
I think it is probably not the fault of YouTube, Vimeo, or Brightcove's coding at this point, but more likely the fault of the LMS (or Articulate Review) for not also including the fullscreen attributes in a parent iframe.
- IndraniSen-e0839 years agoCommunity Member
I agree. I had the same issue. Nothing to do with Articulate. Our LMS did not allow it :(
Related Content
- 12 months ago
- 10 months ago
- 14 days ago