QCVideo,
It is a plugin to facilitate the use of HTML5 videos. Use
$ (document) .ready (function () {
$ ('div [data = QCVideo]'). every (function () {
options var = {
mod: "embed",
up: "complet",
Theme: "QCTheme",
cdn: "https://www.quecodigo.com/video/",
}
$ (this) .QCVideo_config (options);
});
});Mod:
- 'embed' in full screen.
- 'video' is inserted directly.
Above:
- 'complete' or 'title' The title of the video is shown
- 'share' or 'null' only shows sharing
Topic:
- 'QCTheme'
- 'MowantTheme'
CDN: Where the files are located, both for the url in embedded mode and for general files
<div id = "video" data = "QCVideo" data-src = "https://www.quecodigo.com/video/ejemplo.mp4" data-width = "640" data-height = "360" data-poster = "https://www.quecodigo.com/video/img/video.jpg?2" data-title = "www.quecodigo.com - QCVideo Plugin"> </ div>-
Id: The id it will take to put the player
-
data-src: Url of the video to call
-
data width: Player width in video mode.
-
data-height: Stops the player in video mode.
-
data-poster: Image before starting playback.
-
data-title: Title of the video.