Skip to main content
All CollectionsFrequently Asked QuestionsOn-Demand
Can I create a link that opens a specific On-Demand video on my website?
Can I create a link that opens a specific On-Demand video on my website?

Yes. But you will need to customize some settings and add code to your website.

Randall Elmo avatar
Written by Randall Elmo
Updated over a year ago

Yes.

If you are using embed codes gotten after January 2022, it is possible to create a link that opens a specific video directly on your site. It requires enabling "Custom Share URL" in the On-Demand Settings section of your ViewMedica account and adding the following script into the head of your website.

<script src="https://ondemand.viewmedica.com/lib/vm.js" defer></script>

An example link would be formatted like this:

<a href="https://your-domain.com/page-viewer-is-on/#vm_VIDEOIDCODE" />

Please be sure you replace the corresponding parts of the example to match your website information and the video you want to play [VIDEOIDCODE].

Did this answer your question?