mirror of
https://github.com/BluemediaDev/video-platform.git
synced 2024-12-21 22:35:29 +01:00
Update stuff
This commit is contained in:
parent
c032b2d294
commit
e62efcad6e
|
@ -6,6 +6,14 @@
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||||
<title>Bluemedia's Video Platform</title>
|
<title>Bluemedia's Video Platform</title>
|
||||||
|
|
||||||
|
<!-- og-embed -->
|
||||||
|
<meta property="og:title" content="Bluemedia's Video Plattform">
|
||||||
|
<meta property="og:description" content="Watch shared videos without compromising your privacy.">
|
||||||
|
<meta property="og:image" content="<%= BASE_URL %>logo.png">
|
||||||
|
<meta property="og:site_name" content="Bluemedia's Video Plattform">
|
||||||
|
<meta property="og:url" content="https://video.bluemedia.dev">
|
||||||
|
<meta property="og:type" content="business.business">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
|
|
BIN
public/logo.png
Normal file
BIN
public/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.7 KiB |
|
@ -13,6 +13,10 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
|
video: {
|
||||||
|
type: Object,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@ -22,7 +26,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
createPlayer() {
|
createPlayer() {
|
||||||
this.player = new Clappr.Player({
|
this.player = new Clappr.Player({
|
||||||
source: axios.defaults.baseURL + "/" + this.id + "/index.m3u8",
|
source: axios.defaults.baseURL + "/" + this.id + "/" + this.video.src,
|
||||||
parentId: "#player",
|
parentId: "#player",
|
||||||
autoPlay: true,
|
autoPlay: true,
|
||||||
height: "100%",
|
height: "100%",
|
||||||
|
|
|
@ -34,7 +34,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
getCategories() {
|
getCategories() {
|
||||||
axios
|
axios
|
||||||
.get("/index.json")
|
.get("/index.json", { baseURL: "" })
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
this.categories = response.data;
|
this.categories = response.data;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="watch">
|
<div class="watch">
|
||||||
<Loader v-if="loading" />
|
<Loader v-if="loading" />
|
||||||
<Player class="player" :id="this.$route.query.v" v-if="!loading" />
|
<Player
|
||||||
|
class="player"
|
||||||
|
:id="this.$route.query.v"
|
||||||
|
:video="this.video"
|
||||||
|
v-if="!loading"
|
||||||
|
/>
|
||||||
<div v-if="!loading" class="video-info">
|
<div v-if="!loading" class="video-info">
|
||||||
<div class="video-info-title">
|
<div class="video-info-title">
|
||||||
<h1>{{ video.title }}</h1>
|
<h1>{{ video.title }}</h1>
|
||||||
|
|
Loading…
Reference in a new issue