Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc
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
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