Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I copy a video file #28

Closed
let4be opened this issue Sep 2, 2015 · 4 comments
Closed

How can I copy a video file #28

let4be opened this issue Sep 2, 2015 · 4 comments

Comments

@let4be
Copy link

let4be commented Sep 2, 2015

loader:
{ test: /\.jade$/, loader: 'html?attrs[]=img:src!jade-html?doctype=html' }

jade:
video(autoplay,loop,id="bgvid")
source(src="/assets/frames.mp4",type="video/mp4")

@let4be
Copy link
Author

let4be commented Sep 2, 2015

Module parse failed: ...
Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)

@rajkissu
Copy link
Contributor

Add source:src to the list of attributes:

{ test: /\.jade$/, loader: 'html?attrs[]=img:src&attrs[]source:src!jade-html?doctype=html' }

@joshwiens
Copy link
Member

@hemanth - Close me

@let4be let4be closed this as completed Jul 23, 2016
@ghost
Copy link

ghost commented Feb 7, 2017

thx~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants