mirror of
https://github.com/BluemediaGER/video-platform.git
synced 2024-09-08 01:35:29 +02: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">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<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>
|
||||
<body>
|
||||
<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,
|
||||
required: true,
|
||||
},
|
||||
video: {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -22,7 +26,7 @@ export default {
|
|||
methods: {
|
||||
createPlayer() {
|
||||
this.player = new Clappr.Player({
|
||||
source: axios.defaults.baseURL + "/" + this.id + "/index.m3u8",
|
||||
source: axios.defaults.baseURL + "/" + this.id + "/" + this.video.src,
|
||||
parentId: "#player",
|
||||
autoPlay: true,
|
||||
height: "100%",
|
||||
|
|
|
@ -34,7 +34,7 @@ export default {
|
|||
methods: {
|
||||
getCategories() {
|
||||
axios
|
||||
.get("/index.json")
|
||||
.get("/index.json", { baseURL: "" })
|
||||
.then((response) => {
|
||||
this.categories = response.data;
|
||||
this.loading = false;
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<template>
|
||||
<div class="watch">
|
||||
<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 class="video-info-title">
|
||||
<h1>{{ video.title }}</h1>
|
||||
|
|
Loading…
Reference in a new issue