Vue-video-player or HTML5 video playback server video MP4 report 403 browser normal playback

play video local video normal playback request server video to report 403 but open normally in the browser to solve! Wait online


<template>
        <div class="player">
          <video-player  class="vjs-custom-skin"
                         ref="videoPlayer"
                         :options="playerOptions"
                         :playsinline="true"
                         @play="onPlayerPlay($event)"
                         @pause="onPlayerPause($event)"
                         @ended="onPlayerEnded($event)"
                         @loadeddata="onPlayerLoadeddata($event)"
                         @waiting="onPlayerWaiting($event)"
                         @playing="onPlayerPlaying($event)"
                         @timeupdate="onPlayerTimeupdate($event)"
                         @canplay="onPlayerCanplay($event)"
                         @canplaythrough="onPlayerCanplaythrough($event)"
                         @ready="playerReadied"
                         @statechanged="playerStateChanged($event)">
          </video-player>
          <video controls="" autoplay="" name="media"><source :src="params.filenamepath" type="video/mp4"></video>
        </div>
</template>

<script>
import lessonService from "../lessonService"
export default {
  data () {
    return {
      // videojs options
      playerOptions: {
        playbackRates: [0.7, 1.0, 1.5, 2.0], // 
        loop: false, // 
        language: "zh-CN",
        height: document.documentElement.clientHeight,
        width: document.documentElement.clientWidth,
        autoplay: false,
        sources: [{
          type: "video/mp4",
          src: "https://cdn.theguardian.tv/webM/2015/07/20/150716YesMen_synd_768k_vp8.webm"
        }],
        poster: "https://surmon-china.github.io/vue-quill-editor/static/images/surmon-1.jpg"
      },
      lengthOfTime: 0,
      state: 0,
      params: {}
    }
  },
  mounted () {
    this.params = this.$route.params
    this.playerOptions.sources[0].src = this.params.filenamepath
  }
}
</script>
Mar.21,2021

403 is a server problem, find the backend


Hello, I have been unable to achieve local playback, I would like to ask you how to set up local playback?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30d44-4e9ad.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30d44-4e9ad.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?