Jump to content

Unable to full screen an embedded video on WHMCS knowledgebase


ocastaned

Recommended Posts

What it would be the solution to embed a YouTube video on WHMCS knowledgebase section, and be able to use the fullscreen mode on Google Chrome?

 

After embedding the video, is not possible to use the fullscreen mode on Google chrome, it doesn't work. My customers are getting frustrated about that.

 

Any alternative or solution would be very appreciate it.

 

Thank you.

Link to comment
Share on other sites

The full screen button doesn't appear, even putting the correct code.

 

This is an example of the code I am using.

 

<iframe width="560" height="315" src="//www.youtube.com/embed/7gANkXcOBoc" frameborder="0" allowfullscreen></iframe>

 

 

The problem here is, that the code includes the option to allow full screen, but when I paste the code into WHMCS and save, the allowfullscreen is removed and just leaves the code this way below:

 

<iframe src="//www.youtube.com/embed/7gANkXcOBoc" frameborder="0" width="560" height="315"></iframe>

 

 

If I put back the first code including allowfullscreen and save the changes, the code goes back same way without the allowfullscreen, and I am not able to use fullscreen on the video.

Link to comment
Share on other sites

http://forum.whmcs.com/showthread.php?85946-Knowledgebase-Embedded-Video-Won-t-Go-Into-Fullscreen-Mode&p=364251#post364251

 

could you edit the code directly in the database entry - either using phpmyadmin, navicat etc ?

i've confirmed this tonight and it works - if you manually add allowfullscreen directly into the kb article in the tblknowledgebase table of the database, i.e bypassing whmcs and using phpmyadmin, navicat etc, this will give you the option to show the video full screen.

 

remember to make a copy of the database before doing this.

Link to comment
Share on other sites

if you're familiar with sql queries, and if there is something you can consistently find to replace on (e.g., if heights or widths are the same), it would probably be possibly to write a query to add it to each appropriate article... though if you go down that road, you really should ensure you backup the database.

 

personally, i'd make myself a drink, copy allowfullscreen to the clipboard and prepare for a lot of pasting!

 

if whmcs is filtering the code as you submit it, then I can't think of any alternative other than to bypass the whmcs filter and edit the kb article in the database directly.

Link to comment
Share on other sites

Thank you for your help, but I honestly think WHMCS should find a way to insert videos on articles that works for fullscreen.

I appreciate that you think whmcs should and i'm not necessarily disagreeing with you - but in the short-term, you're either going to have to edit the articles directly, or perhaps use some third-party player to play the videos... not ideal options I know.

 

one further thought about editing the articles directly - as I said previously, it works... but if you do edit them directly in the database, you then practically won't be able to edit them again in whmcs until this 'issue' is fixed - if you try to, whmcs will filter those iframe links again and remove the allowfullscreen additions... which would send you back to square one.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated