Currently, the mat-video module uses src tag, it's fine but it doesn't works properly when you try to lazyload a video. Also, the video doesn't appears on the http requests, just the poster.
What is the expected behavior?
Be able to use either the tags as data-src or [attr.data-src] and the current one src.
What are the steps to reproduce?
I have a home feed using instagram-like cards for every post, and I managed to dynamically load the proper container for every type of post's content (Just one content, multiple content using swiper), here's the snippet:
`
Add [attr.data-src] or data-src
What is the current behavior?
Currently, the mat-video module uses src tag, it's fine but it doesn't works properly when you try to lazyload a video. Also, the video doesn't appears on the http requests, just the poster.
What is the expected behavior?
Be able to use either the tags as data-src or [attr.data-src] and the current one src.
What are the steps to reproduce?
I have a home feed using instagram-like cards for every post, and I managed to dynamically load the proper container for every type of post's content (Just one content, multiple content using swiper), here's the snippet: `
`
What is the use-case or motivation for changing an existing behavior?
Like I wrote above, it would be useful for lazy load purposes, and also the request is not visible.
Using Angular 8+ with latest Material module.