For further actions, you may consider blocking this person and/or reporting abuse
Read next
👻 Scary Ghost Cursor with Smoke Trail! 💀 code using html5,css3 and javascript
Prince -
Building AI and Machine Learning Applications with .NET 9: A Comprehensive Guide
Leandro Veiga -
CodeFast⚡by Marc Lou: (A Review of a “Learn by Doing” Coding Course for Entrepreneurs Learn to Build a SaaS in Just Two Weeks)
AdriánColom -
Un senior destaca por su forma de pensar, no de codear
Khriztian Moreno -
Top comments (6)
Hi, Shivali! These solutions below are framework-agnostic, so I think you'll be fine using them along with Vue.js for your project.
In fact, you don't need to use a
iframe
for embedding a YouTube video. You can either use: (a) the<embed>
or<object>
HTML tags, as described here; (b) the YouTube API, by creating a solution yourself, explained here; or (c) using a third-party library that already does it for you, such as plyr (there is also a Vue component for it), that you can customize according to your project requirements.Thanks a lot
No problem! 😄
Hey, you can use vue-youtube. its easy to implement and its provide some events and props so that you can customise the player as per your requirement.
npmjs.com/package/vue-youtube
Thanks a lot @@10shubham01
😊