Hello,
How can i play video H.264 MP4. When i checked on Current Sessions, video cant play.
Example video url: https://archive.org/details/SampleVideo1280x7205mb
Thank you.
Failed to play the associated resource because it is not supported by this browser. Equivalent to the HTML5 MEDIA_ERR_SRC_NOT_SUPPORTED mediaError.
Sorry for the delay on this. You should be able to play them using chrome:stable:
import puppeteer from "puppeteer-core";
const sleep = (ms) => new Promise((res) => setTimeout(res, ms));
const browser = await puppeteer.connect({
browserWSEndpoint: "ws://localhost:3000",
});
const page = await browser.newPage();
await page.goto(`https://archive.org/details/SampleVideo1280x7205mb`, {
waitUntil: "networkidle0",
});
await page.click(`div[aria-label="Play"]`);
await sleep(3000);
await page.screenshot({ path: `H.264-${Date.now()}.jpg` });
await browser.close();
Owner Name | browserless |
Repo Name | chrome |
Full Name | browserless/chrome |
Language | TypeScript |
Created Date | 2017-11-17 |
Updated Date | 2023-03-22 |
Star Count | 5309 |
Watcher Count | 47 |
Fork Count | 516 |
Issue Count | 29 |
Issue Title | Created Date | Updated Date |
---|