ben-miles / benmiles-wp

A custom WordPress theme, plus data and plugins, for my portfolio website.
https://benmiles.com
Other
1 stars 0 forks source link

Add Full-Size Videos to Single Portfolio Item Page Template #18

Open ben-miles opened 1 year ago

ben-miles commented 1 year ago

For those Portfolio Items with video thumbnails, it would be awesome to display the full-size version of those videos on their Single Portfolio Item page. Likely, this would be in place of the static 16:10 featured image; but the ideal solution may involve using both the static image and the video, with the image as a placeholder for the video, until clicked.

ben-miles commented 3 months ago

Bad news here, I didn't keep my original (eg, full-size) videos after creating the thumbnail-sized versions; so this task would entail going back and creating new videos for each entry that has one... I was never in love with these videos anyway, so that's not the worst thing ever.

So, next move here is to find a better way to record these demo videos, one that doesn't rely on Chrome-specific plugins, or hacky javascript pasted into the browser console, or which sometimes show the mouse cursor, as my current solution does. I'm reading up on Selenium IDE, and I think it shows promise, at least in terms of being able to automate scrolling and clicking/interacting with elements. Not certain if Selenium can handle the actual recording to video, but if not, any of a number of other apps and plugins can do that part just fine.