You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have this code in VS code with notebook, and i am curious, can i play the video? Because i get the html player, but I can not start the video. But mp3 sound i can play here
const path = require('path');
const { display } = require('node-kernel');
const videoPath = path.join(__dirname, 'rick.mkv');
console.log(videoPath);
const html = `
<video controls>
<source src="${videoPath}" type="video/x-matroska">
Your browser does not support the video tag.
</video> `
;
display.html(html);
Edit: so it work at least with mp4, but there is a problem with sound, there is none in the notebook
The text was updated successfully, but these errors were encountered:
Hi, I have this code in VS code with notebook, and i am curious, can i play the video? Because i get the html player, but I can not start the video. But mp3 sound i can play here
Edit: so it work at least with mp4, but there is a problem with sound, there is none in the notebook
The text was updated successfully, but these errors were encountered: