/    Sign up×
Community /Pin to ProfileBookmark

Help with set up instructions of video.js

I got limited help trying to set up this player:
[url]http://www.videojs.com/docs/setup/[/url]
The link instructions are pretty short/(easy for someone more skilled than me), but I need some advice, please. The self-hosted instructions show this:

[CODE]<link href=”http://example.com/path/to/video-js.css” rel=”stylesheet”>
<script src=”http://example.com/path/to/video.js”></script>
<script>
_V_.options.flash.swf = “http://example.com/path/to/video-js.swf”
</script>
[/CODE]

The help I got added this code to appropriate file:

[CODE]<link href=”http://theurl.com/video-js/video-js.css” rel=”stylesheet”>
<script src=”http://theurl.com/video-js/video-js.css”></script>
<script>
_V_.options.flash.swf = “http://theurl.com/video-js/video-js.swf”
</script>

<video id=”mp4″ class=”video-js vjs-default-skin”
controls preload=”auto” width=”640″ height=”264″
poster=”http://video-js.zencoder.com/oceans-clip.png”
data-setup='{“example_option”:true}’>
<source src=”http://theurl.com/uploads/” type=’video/mp4′ />
</video>[/CODE]

According to the very short instructions at [url]http://www.videojs.com/docs/setup/[/url]
does this new added code look right?

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @chrisjchrisj spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.14,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...