Remove redundant id prop from Player
This commit is contained in:
@ -7,7 +7,6 @@ import { UiPlayerChangeEpisodeButton } from "#components";
|
||||
|
||||
interface Props {
|
||||
urls: any[];
|
||||
id: string;
|
||||
episodeButton: boolean;
|
||||
}
|
||||
|
||||
@ -32,7 +31,6 @@ const options = computed(() => {
|
||||
lock: true,
|
||||
autoOrientation: true,
|
||||
autoPlayback: true,
|
||||
id: props.id,
|
||||
}
|
||||
})
|
||||
const artplayerRef = ref();
|
||||
|
@ -8,8 +8,7 @@
|
||||
<p>Episode: {{ episode }}</p>
|
||||
|
||||
<div v-if="hlsUrls">
|
||||
<Player :id="mediaId.toString().concat(episode?.toString() || '')" :urls="hlsUrls" :episode="episode"
|
||||
:episodeButton="true" />
|
||||
<Player :urls="hlsUrls" :episode="episode" :episodeButton="true" />
|
||||
</div>
|
||||
|
||||
<!-- Loading and Error States -->
|
||||
|
Reference in New Issue
Block a user