Video5-Talk

Summary: Talk page for Video5.
Maintainer: TomG
Users: +1 (View / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

April 7, 2017 (Matthias)

Hi Tom and friends of Video5-Recipe!

It seems to me, that only first calls of (:video test:) on a page work properly, while second and further calls don't show an poster/preview image. (Video is played, but no poster.)

Also the produced code is different:

First occurance on the page produces - quite correct:

<video width="640" height="480" preload="auto" controls="controls" >
<source src="http://path/to/test.mp4" type="video/mp4" />
<p class="novideo">Sorry, your browser does not support HTML5 video.</p>
</video>

Second occurance on the page produces - somelike unexpected:

<video width="640" height="480" preload="auto" controls="controls" poster="http://path/to/test.gif">
<source src="http://path/to/test.mp4" type="video/mp4" />
<source src="http://path/to/test.ogv" type="video/ogg" />
<source src="http://path/to/test.webm" type="video/webm" />
<img src="http://path/to/test.gif" width="640" height="480" alt="test" />
<track src="http://path/to/test.vtt" kind="subtitles" srclang="en" label="test" default />
<p class="novideo">Sorry, your browser does not support HTML5 video.</p>
</video>

My question: Is that a known issue, or does it seem to be any misconfiguration of my page?

Thanks for your helpful answers!

Yours
Matthias

---

February 27, 2017 (nikos)

The recipe doesn't seem to support subfolders.
Or, am I doing something wrong?
It will read the video in...

   http://mywiki/main/uploads/Main/myvideo.webm 

but it won't find the video in a subfolder.
Example...

   http://mywiki/main/uploads/Main/some_subfolder/myvideo.webm 

Setting the recipe's "VideoUrl" option to...

   0

or...

   http://mywiki/main/uploads/Main/

makes no difference.

I 've tried...

   (:video /some_subfolder/myvideo.webm :)
   (:video /some_subfolder/myvideo :)
   (:video ./some_subfolder/myvideo :)
   (:video some_subfolder/myvideo :)

but hey didn't work.

nikos? February 27, 2017, at 04:07 PM


13. May 2013 (Jakub)

Hello,

Thanks for the recipe. Does it support <track> tag to allow embedding of subtitles in SRT format? Would it be hard to implement in case it does not?

All the best. Jakub

Hi Jakub,

Not yet. Anyway, this shouldn't be a problem to implement and sounds like a good idea.

Please give me a week or two, I'm rather busy for the time being.

Thanks, 2013-05-14 - Tom

Hi Jakub,

Well, I finally got back to your request. It is now possible to load webvtt tracks (subtitles).

Thanks, 2013-10-22 - Tom

Update release 2013-10-23: SRT subtitles are now supported too. If your browser supports it...

25 Mar 2013 (Susan)

Hi TomG,

In using this recipe, it appears that either support for uploaded files is limited or the function is a bit buggy. I have been unsuccessful in getting an existing mp4 video to display but instead continue to get the error message:

"No video file named Antenna_installation.13.mp4 or Antenna_installation.13.ogv or Antenna_installation.13.webm found"

Here is the wiki markup for three separate failed attempts:

 
(:video Antenna_installation.13.mp4 width=640 height=480:)
(:video Antenna/Antenna_installation.13.mp4 width=640 height=480:)
(:video Attach:/Antenna/Antenna_installation.13.mp4 width=640 height=480:)

I am guessing that if the video doesn't exist in the uploads folder directly attached to the wiki page, then the recipe fails. I have tried numerous workarounds (shown above) to specify a path but none have worked. Ideally, using the Attach: syntax would make usage consistent and flexible.

Any thoughts or suggestions?

Susan

Hi Susan,

Please do not include the filename extension in the wiki source. Your example should look something like this:

(:video Antenna_installation.13 :)

This is not clearly stated on the video5 page, I'll update the documentation.

Thanks,

2013-04-09 - Tom

Update release 2013-10-22: This is no longer true. It no longer matters if you include the file extension in the video markup.


PLEASE PUT YOUR ENTRY DIRECTLY *ABOVE* THE [#usersend] LINE. The format should be: asterisk, either + or - in parentheses, comment, your name or profile link For example (obviously without the at the beginning): * (+) comment-text name?

Thanks!

Lexx

 Hi Tom,
I have the problem that the Video is not shown on the Web-Page
I allways get the Errormessage like "No Video with the supportet format is found"
But the Video in Format mp4 is stored in the right Directory.
The Tag in my page is:
(:video myvideo.mp4 autoplay=0 controls=1 loop=0 muted=0 preload=none width=600 height=295:)
The include line is includet in my Config.php.
I hope someone can help me.

by Lexx

Hi Lexx,

Same problem I think, please do not include the filename extension in the wiki source:

(:video myvideo autoplay=0 controls=1 loop=0 muted=0 preload=none width=600 height=295:)

I'll definitively update the documentation.

Thanks,

2013-04-09 - Tom

Update release 2013-10-22: This is no longer true. It no longer matters if you include the file extension in the video markup.

Talk page for the Video5 recipe (users).