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
I reencoded my videos in webm and it works.
Offline
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
Hi!
Same issue with thumbnails - i tried everything, but still in frontend i see just default "mp4.png". Video plays geat.
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
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
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
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
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
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
Hi,
It seems that the views of the videos are count *2.
Offline
So, I'm having good luck with this plugin.. works great.
The only issue I'm having is creating thumbnails every "x" seconds - my webserver times out processing the videos. (I'm trying to process 60gb of 1080/60 videos - I expect that)
But.. I'd like to run ffmpeg from the command line to get around the timeout issue.
What command is the script running (with full paths?) to generate the time based thumbs?
Offline