PhotoSwipe
PhotoSwipe copied to clipboard
How to use photoswipe for videos?
Hi,
I see that a photoswipe video plugin is under development but I also saw many people using photoswipe as it is for videos. But I could not find anything in docs. How can I use it for youtube videos or videos hosted on say, any other server as mp4? Can anyone share?
Here is a test album for videos, feel free to investigate the code. It was a lot of work, so a video plugin is a very good idea.
@acwolff Thanks. That is a lot of work you have done and now a lot of work for me to find out how the code is working. Is there anything as simple as photoswipe docs to help me add required attributes and initialize photoswipe to handle videos?
@kapooramit when I started the project, the documentation was very limited, but it is much better now. However I got a lot of help of @dimsemenov as you can see in the list of issues. If you wish you can get all source files. Do send me in that case an email via the top link on this page: https://andrewolff.nl/index.htm
@acwolff That looks awesome! One thing though, when sliding between videos, the video container resizes a bit jumpy. Were you able to slide in the video slides already sized appropriately before they appear?
@acwolff That looks awesome! One thing though, when sliding between videos, the video container resizes a bit jumpy. Were you able to slide in the video slides already sized appropriately before they appear?
@kapooramit , the answer is No, but I did send you the source files, so if you can improve that, let me know!
@kapooramit and @rsteinbakk the complete video test website is in the enclosed zip file TestVideos_PS.zip .
Thank you @acwolff . This will help immensely!
There is no files in archive
@kapooramit and @rsteinbakk the complete video test website is in the enclosed zip file [TestVideos_PS.zip]
@kapooramit and @rsteinbakk the complete video test website is in the enclosed zip file TestVideos_PS.zip .
The zip does not have the files, only the folders.
@kapooramit and @rsteinbakk the complete video test website is in the enclosed zip file TestVideos_PS.zip .
The zip does not have the files, only the folders.
This is the latest version of the source codeTestVideos_PS.zip and this time with the images and videos. View the test album.