vue-core-video-player icon indicating copy to clipboard operation
vue-core-video-player copied to clipboard

Video quality

Open eslamansour opened this issue 4 years ago • 3 comments

there is no quality list shown in settings image

eslamansour avatar Apr 20 '21 15:04 eslamansour

your different video sources must be served by data() function like this

videoSource: [
        {
          src: '..link/to/video-360.mp4',
          resolution: '360p',
        }, {
          src: '..link/to/video-480.mp4',
          resolution: '480p',
        }, {
          src: '..link/to/video-720.mp4',
          resolution: '720p',
        },
      ],

if they do it should work.

MrDussel avatar Apr 23 '21 12:04 MrDussel

There is only one video in server uploaded in (720px) with one src.

How can the resolution work.

or back end must work with it to make different resolution for one video or what

eslamansour avatar Apr 25 '21 12:04 eslamansour

or back end must work with it to make different resolution for one video or what -> yes.

This player only gives you the possibility to switch between already existing resolutions, it won't do the transcoding for you.

Either you transcode the different resolutions by yourself and upload them one by one, or you let the server do the transcoding. Possible tool for this is ffmpeg.

Good luck!

MrDussel avatar Apr 26 '21 15:04 MrDussel