Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

Commit

Permalink
novo player.
Browse files Browse the repository at this point in the history
  • Loading branch information
uesleibros committed Sep 2, 2024
1 parent 354288b commit 7762a8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/app/api/imagens/anroll/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ export async function GET(request) {
const imageBuffer = await res.arrayBuffer();
const contentLength = imageBuffer.byteLength;

console.log(res.headers);

return new Response(imageBuffer, {
status: 200,
headers: {
Expand Down
2 changes: 1 addition & 1 deletion src/app/assistir/anime/[slug]/[episodio]/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function AssistirEpisodio({params}) {
{
responsive: true,
controls: true,
sources: [{ src: `/api/streaming/anroll/${slug}/${episodios.n_episodio}/media.m3u8`, type: "application/x-mpegURL" }],
sources: [{ src: `https://lightspeedst.net/s3/mp4/naruto/sd/1.mp4`, type: "video/mp4" }],
controlBar: {
skipButtons: {
forward: 10,
Expand Down

0 comments on commit 7762a8c

Please sign in to comment.