Support of Video Streaming PHPMyFaq

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

MBernardes
Posts: 1
Joined: Fri Dec 28, 2012 5:17 pm

Support of Video Streaming PHPMyFaq

Post by MBernardes » Fri Dec 28, 2012 5:23 pm

Hi, sorry for my bad english.
I'm brazilian, and i need of support for videos on streaming in my page.

In PHPMyFaq this is possible or the support for videos only are on storage of buffer ?

Thorsten
Posts: 15090
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Support of Video Streaming PHPMyFaq

Post by Thorsten » Sat Dec 29, 2012 8:58 am

Hi,

you can embed everything, e.g. YouTube videos or self hosted videos.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

arunvsadnikov
Posts: 3
Joined: Sat Dec 28, 2013 8:15 am

Re: Support of Video Streaming PHPMyFaq

Post by arunvsadnikov » Fri Jan 02, 2015 10:26 am

Hi Thorsten,

Im tying to embed youtube video. But it is not working, just showing a blank page. Im using phpMyFAQ 2.8.19. I appreciate your help.


Arun

Thorsten
Posts: 15090
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Support of Video Streaming PHPMyFaq

Post by Thorsten » Fri Jan 02, 2015 12:31 pm

Hi,

how did you do it? It worked for me:
Bildschirmfoto 2015-01-02 um 12.30.08.png
bye
Thorsten
You do not have the required permissions to view the files attached to this post.
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

robin-masters
Posts: 40
Joined: Mon Aug 11, 2014 10:09 am

Re: Support of Video Streaming PHPMyFaq

Post by robin-masters » Thu Jan 22, 2015 10:49 am

Hello @all,

supports the Editor acutally HTML5 Video embedding?

Code: Select all

<video width="320" height="240" controls>
   <source src="movie.mp4" type="video/mp4">
   <source src="movie.ogg" type="video/ogg">
 Your browser does not support the video tag.
</video> 
doesnt work. Only your browser does not Support the Video tag appears. (IE11 and Firefox 34)

Thorsten
Posts: 15090
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Support of Video Streaming PHPMyFaq

Post by Thorsten » Thu Jan 22, 2015 3:13 pm

Hi,

phpMyFAQ 2.8.20 will support it: https://github.com/thorsten/phpMyFAQ/co ... 3092c6fa47

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

klaasvaak
Posts: 4
Joined: Tue Feb 10, 2015 10:10 am

Re: Support of Video Streaming PHPMyFaq

Post by klaasvaak » Tue Feb 10, 2015 10:15 am

Hello Thorsten

I,m running 2.8.20 version

But when i add

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>

the editor changes the code to

<video controls="controls" height="240" width="320"> Your browser does not support the video tag. </video> ???

What html5 syntax did you use ?

Regards
KV

Thorsten
Posts: 15090
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Support of Video Streaming PHPMyFaq

Post by Thorsten » Tue Feb 10, 2015 11:01 am

Hi,

I see the issue, the <source> is not yet allowed. I tested it with what you can paste from YouTube.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

klaasvaak
Posts: 4
Joined: Tue Feb 10, 2015 10:10 am

Re: Support of Video Streaming PHPMyFaq

Post by klaasvaak » Tue Feb 10, 2015 11:10 am

Ok is there a quick fix for it to allow <source> ?

Thorsten
Posts: 15090
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Support of Video Streaming PHPMyFaq

Post by Thorsten » Tue Feb 10, 2015 11:14 am

Hi,

yes, just check this commit: https://github.com/thorsten/phpMyFAQ/co ... 3092c6fa47

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

klaasvaak
Posts: 4
Joined: Tue Feb 10, 2015 10:10 am

Re: Support of Video Streaming PHPMyFaq

Post by klaasvaak » Tue Feb 10, 2015 11:40 am

welldone for the quick support m8

Thorsten
Posts: 15090
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Support of Video Streaming PHPMyFaq

Post by Thorsten » Tue Feb 10, 2015 11:42 am

Hi,

did you retry to add it?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

klaasvaak
Posts: 4
Joined: Tue Feb 10, 2015 10:10 am

Re: Support of Video Streaming PHPMyFaq

Post by klaasvaak » Tue Feb 10, 2015 11:53 am

mm i,m getting on the frontend

Image

in the source of the posting i use

<p><video controls="controls" height="240" width="320"> <source src="video/test.mp4" type="video/mp4" /> Your browser does not support the video tag. </video></p>

seems that myfaq dont render it right ?

Thorsten
Posts: 15090
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Support of Video Streaming PHPMyFaq

Post by Thorsten » Tue Feb 10, 2015 11:56 am

Hi,

looks like your webserver doesn't serve the video with the correct MIME type.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

robin-masters
Posts: 40
Joined: Mon Aug 11, 2014 10:09 am

Re: Support of Video Streaming PHPMyFaq

Post by robin-masters » Tue Feb 24, 2015 2:38 pm

Hey Thorsten,

can you fix the HTML5 Video embedding problem in 2.8.21 complety.. ? :)
Because Video tag makes no sense without source...

\admin\footer.php

Code: Select all

extended_valid_elements : "code,video[*],source[*]",
Works for me.....
Last edited by robin-masters on Tue Feb 24, 2015 3:28 pm, edited 3 times in total.

Post Reply