SeriousBug
01/27/2022, 4:41 PMseadude
01/27/2022, 4:43 PM<video width="640" height="480" controls>
<source src="E:\dataDocuments\ktree\vault\assets\videos\2022-01-27_BBounty_Example.MOV" type="video/mp4">
</video>

SeriousBug
01/27/2022, 4:43 PMseadude
01/27/2022, 4:44 PMhttp://localhost:64311/#/3
, but no videoSeriousBug
01/27/2022, 4:50 PMsrc="http://localhost:xxxxx/api/assets?fpath=E:%2FdataDocuments%2Fktree%2Fvault%2Fassets%2Fvideos%2F2022-01-27)BBounty_Example.MOV&ws=E:%2FdataDocuments%2Fktree"
, where the xxxxx
is the port used by the Dendron engine, it would work for a bit but crash once Dendron is restarted and the port changes 😅seadude
01/27/2022, 4:52 PMSeriousBug
01/27/2022, 4:54 PMpython3 -m http.server 8080
, then point src
at that.
The problem is that VSCode preview won't let us just access those files because that would be unsafe. We work around it by accessing images through the Dendron engine, but Dendron doesn't know about the video so it can't fix the src to point at the engine.seadude
01/27/2022, 4:56 PMsrc="http://localhost:64311/api/assets?fpath=E:%2FdataDocuments%2Fktree%2Fvault%2Fassets%2Fvideos%2F2022-01-27)BBounty_Example.MOV&ws=E:%2FdataDocuments%2Fktree"
Same issue, blank video player in the browser after a refreshpython3
server, do I need the extra stuff in the URL ?
(Last part
BBounty_Example.MOV&ws=E:%2FdataDocuments%2Fktree
)api/assets?fpath=
?SeriousBug
01/27/2022, 5:02 PMseadude
01/27/2022, 5:03 PMpython
server spun up, the exported vscode-reveal presentation shows the vieoplayer AND the video using:
<video width="640" height="480" controls>
<source src="http://localhost:8080/ktree/vault/assets/videos/2022-01-27_BBounty_Example.MOV" type="video/mp4">
</video>
http://<my_ip>:8080
?SeriousBug
01/27/2022, 7:43 PMpython3 -m http.server -b 127.0.0.1 8080
seadude
01/27/2022, 7:46 PM