Answered Video format that plays in VaM default browser?

CheersMate

Well-known member
Messages
168
Reactions
606
Points
93
Website
ecchi.iwara.tv
When I'm in VaM and perusing the Vam Hub "Teaser and Higher", most of the time the videos won't play on the overview tab using the integrated browser.
But every once in a while it does work (like @atani 2023 template).
What video format/process is recommended for adding videos that will play inside the VaM browser?
 
The video in my resource's description was uploaded to the Hub. Others may be hosted somewhere else.
There's a way to load them, but I don't recall what it was.
 
Upvote 0
After running an experiment this is what I found:
mp4 (h264) - works in external browsers (Firefox, Edge, etc) but not in VaM's builtin browser
webm (vp9) - works in both!

So, there you have it. When encoding a video to upload to VaM, encode as WEBM format w/ VP9 encoder.
 
Upvote 0
Should have mentioned that, my video was encoded as VP9 in a webm container.
I don't know if there's some processing done when uploading it on the Hub, mine took forever to upload.

Based on a forum conversation about videos, I considered mine to be essential to the resource, not marketing or bling, as it shows instructions on how to use the resource and is about 8 minutes long. I considered it a justification to upload it on the Hub and not to a external video hosting service.
I did not find any official guidelines, probably would be good to have some @DJ , as well on uploading images. Images are not as impactful size-wise as videos, but I've seen a few resources with images over 20 MB, which is insane.
 
Last edited:
Upvote 0
Should have mentioned that, my video was encoded as VP9 in a webm container.
I don't know if there's some processing done when uploading it on the Hub, mine took forever to upload.

Based on a forum conversation about videos, I considered mine to be essential to the resource, not marketing or bling, as it shows instructions on how to use the resource and is about 8 minutes long. I considered it a justification to upload it on the Hub and not to a external video hosting service.
I did not find any official guidelines, probably would be good to have some @DJ , as well on uploading images. Images are not as impactful size-wise as videos, but I've seen a few resources with images over 20 MB, which is insane.
Hmm. I've uploaded videos into the scene summaries that would probably be considered marketing (e.g. scene trailers). I didn't know this was discouraged. "Insert Video" is just so easy while "Insert Media" seems pretty flaky (sometimes it refuses to accept redgifs for example).

I agree, some official guidelines / faq would be good.

If "Insert Video" is discouraged, what would you say is the best site for uploading trailers? Preferably supporting >1 minute and plays in the integrated browser. Redgifs is fine (when it works) except 1. One minute limit, 2. Doesn't play in built in browser & 3. Low Res. And Pornhub is a pain with all the verification hoops that I'm not about to jump through.
 
Upvote 0
One of the issues with playing video directly in the VaM internal browser is that VaM has no security involved, hence it only run stuff that is either integrated from the HUB website or really basic HTML 5.X, CSS and Javascript stuff.

Most of the video hosting website like Youtube, YouPorn, RedTube, etc. uses a bunch of overlaying Javascript with custom reference to some remote library to play a video. From the code that detect, load and play ads to the simple initial loading sequence (the big "Play" button that appears in the middle of the video player if not played automatically) and even to the sequencing and data-fetching codes that might run with the video. (You know, the code that detect how many views are active on a video, who's watching which part and so on.)

To protect their website, most of the video hosting website uses referential methods to load javascript. (Basically 1 javascript code load and cache a bunch of remote javascript codes that allows the player to access the website video content and cache it.) This why, in recent years, lots of the video downloader pluging/extension just stopped working unless they were precisely made for a website's loading method.

The VaM browser doesn't load remote javascript codes, but only whatever is on the first layer unless it's part of the HUB which, from what I have seen, VaM has a bit of an integration of the stuff related to it. (Basically, it can interpret the page as every pages like that follows the same strict rules.) This is also why said Browser has a big warning telling you to not load any web page which had stuff you don't know about or you do it at your own risks.

Imagine that Steam's browser had this issues since its creation and Valve ended up telling everyone "We only made the browser to allow people to visit a shared platform around Steam for all devices and its community and not to visit anything else so we just don't care if X website or feature doesn't work anymore."

To answer the question about how to publish video/trailer on the HUB, the answer is actually simple: Don't do it on the HUB.
Instead, put a direct link to whatever trailer on remote site that tell something like "Click here to check the trailer on XXXXX" and, under this link, put 4 or 5 images taken from the trailer (the best that demonstrate the content). Anything more picture is just a waste of both your and the user time because it's a pain to scroll down in the in-game Browser and it slow down the loading time when accessing your content's page.
 
Upvote 0
Back
Top Bottom