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
{#if _model.video}
<video controls="controls" width="640" height="480">
<source src={{_model.video}}/>
Your browser does not support HTML5
</video>
{/}
What is rendered:
<videocontrols="controls" width="640" height="480"><sourceid="$c" src="/uploads/video.mp4/">
Your browser does not support HTML5
</video>
The '/' that is supposed to end the source tag is actually appended to url.
Workaround
Instead of <source src={{_model.video}}/>doing <source src={{_model.video}}></source> works fine.
The text was updated successfully, but these errors were encountered:
I have got a video at
/public/uploads/1/video.mp4
model.get('_model.video') //=> /uploads/1/video.mp4
View
What is rendered:
The '/' that is supposed to end the
source
tag is actually appended to url.Workaround
Instead of
<source src={{_model.video}}/>
doing<source src={{_model.video}}></source>
works fine.The text was updated successfully, but these errors were encountered: