Piwigo.org

You are not logged in. (Register / Login)

Announcement

#16 2012-07-02 11:45:15

Awikatchikaen
Member
Registered: 2008-10-02
Posts: 10

Re: New 'piwigo-videojs' Plugin

My ogv videos don't work with the plugin. In the html code there is :

<p>
Video Playback Not Supported
<br>
Your browser does not support the video tag.
</p>


It works with the videojs test page.

I have write the "AddType video/ogg .ogv" in my .htacces.
And for information videos are generated from ffmeg2theora.

I tested with firefox 13, IE9 and piwigo 2.4.

How can I verify if mimetype send is the good one

Offline

#17 2012-07-02 11:58:15

Awikatchikaen
Member
Registered: 2008-10-02
Posts: 10

Re: New 'piwigo-videojs' Plugin

I reencoded my videos in webm and it works.

Offline

#18 2012-07-03 21:34:25

andreasmax
Member
Registered: 2012-07-02
Posts: 5

Re: New 'piwigo-videojs' Plugin

Still having trouble to get the thumbnail showing up. V0.3 running on Piwigo 2.4

I created a folder "videos", another one inside this with "thumbnail" and put the picture as a .jpg with the correct title inside there.
At the gallery I do not see my thumbnail, but the video will play.

Any ideas, why not?

Thx,

Andreas

Offline

#19 2012-07-03 21:54:28

rocket
Guest

Re: New 'piwigo-videojs' Plugin

Hi!
Same issue with thumbnails - i tried everything, but still in frontend i see just default "mp4.png". Video plays geat.

#20 2012-07-04 01:52:12

pewe
Member
Registered: 2012-03-16
Posts: 361

Re: New 'piwigo-videojs' Plugin

What you need is the following structure

|---Galleries (main directory)
||---Videos  (sub-directory)
             ---video1.mpg
             ---video2.mpg
|||---pwg_representative (sub-sub-directory)
                ---video1.jpg
                ---video2.jpg

So 'inside' the videos directory have another directory called 'pwg_representative' (in 2.4 it's not called Thumbnail), and inside that have your thumbnails.

Hope this helps.

Offline

#21 2012-07-04 10:53:13

andreasmax
Member
Registered: 2012-07-02
Posts: 5

Re: New 'piwigo-videojs' Plugin

Yes! That helped. I changed the name of the sub-directory and the name of the thumbnail files for this and now I am able to see the videos.

But:

It seems that the old name of the thumbnail directory is still in the database and I am not able to update this to the new one.
I tried to sync it again, tried to erase the original folders and to sync them  again.

As I am not very familiar with piwigo at this moment - where am I able to change this? Are you able to explain this to me? Would be very nice.

thx

Andreas

Offline

#22 2012-07-04 11:28:49

pewe
Member
Registered: 2012-03-16
Posts: 361

Re: New 'piwigo-videojs' Plugin

Sorry, my installation was a clean install of 2.4, not an upgrade - so I don't have that problem.

However the problem is not a videojs one, it is a general Piwigo issue (the display of the video album etc is the same whatever player you use).

Maybe posting the  database question in the 'How to and Troubleshooting' forum would be more appropriate and possibly is more likely to catch the attention of the developers.

Offline

#23 2012-07-04 12:32:45

andreasmax
Member
Registered: 2012-07-02
Posts: 5

Re: New 'piwigo-videojs' Plugin

Will do that. Thank you.

Offline

#24 2012-07-06 08:07:52

georgefan
Member
Registered: 2012-07-03
Posts: 11

Re: New 'piwigo-videojs' Plugin

my html:

</div>
</div>
<div id="theImageAndInfos">
<div id="theImage">

<div style="margin: 0 auto; width:640px; min-width:480px">


<video id="my_video_1" class="video-js tubecss" controls preload="auto" width="640" height="360" poster="/./galleries/test/thumbnail/TN-guasha.jpg" data-setup="{}">
  <source src="/galleries/test/guasha.mp4" type='video/mp4'>
  <p>Video Playback Not Supported<br/>Your browser does not support the video tag.</p>
</video>


</div>

it can not work on chrome.

Offline

#25 2012-07-06 08:13:56

georgefan
Member
Registered: 2012-07-03
Posts: 11

Re: New 'piwigo-videojs' Plugin

hello,thank you.

well,i uninstall videojs, and reinstall it
it cannot work yet .
and the html is:

<div id="theImageAndInfos">
<div id="theImage">

<div style="margin: 0 auto; width:640px; min-width:480px">


<video id="my_video_1" class="video-js vjs-default-skin" controls autoplay  preload="auto" width="640" height="360" poster="/./galleries/test/thumbnail/TN-guasha.jpg" data-setup='{}'>
  <source src="/galleries/test/guasha.mp4" type='video/mp4'>
  <p>Video Playback Not Supported<br/>Your browser does not support the video tag.</p>
</video>


</div>

Offline

#26 2012-07-09 12:41:39

Awikatchikaen
Member
Registered: 2008-10-02
Posts: 10

Re: New 'piwigo-videojs' Plugin

andreasmax wrote:

Yes! That helped. I changed the name of the sub-directory and the name of the thumbnail files for this and now I am able to see the videos.

But:

It seems that the old name of the thumbnail directory is still in the database and I am not able to update this to the new one.
I tried to sync it again, tried to erase the original folders and to sync them  again.

As I am not very familiar with piwigo at this moment - where am I able to change this? Are you able to explain this to me? Would be very nice.

thx

Andreas

I changed the name of the directory and do a regenerate of the thumbnails and i worked.

Offline

#27 2012-08-03 10:37:07

Awikatchikaen
Member
Registered: 2008-10-02
Posts: 10

Re: New 'piwigo-videojs' Plugin

Hi,

It seems that the views of the videos are count *2.

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013