Here is the contents of my .atom / init.coffee file
View=require('atom').View
class Player extends View
@content: -> @raw """
<video controls width="100%" height="100%" id="video">
<source src="file:///C:/Users/myname/play/html5/mov_bbb.mp4" type="video/mp4">
</video>
"""
player=new Player
atom.workspaceView.appendToLeft(player)
After starting the Atom editor, the HTML5 video control panel will appear, but it cannot play the specified video file.
How to play video in Atom editor?
source
share