+ 7

How do we put a movie 🎥 in a code?

Can you give me some suggestions? Thank you 😊 for everyone's suggestion.

20th Mar 2018, 2:46 AM
JTLZ
5 Réponses
+ 11
I agree on a little more detail, like if you want complete control or want to bring in an outside service like YouTube. Here, people often manually "iframe" a YouTube video, but they also provide an API: https://code.sololearn.com/WY2xou48ucG4/?ref=app Many video hosts will make this easy for you because now you're sending them traffic.
20th Mar 2018, 3:24 AM
Kirk Schafer
Kirk Schafer - avatar
+ 9
I think you should be more specific. Here you could only do something similar using HTML, in which case you should use the <video> </video> tag: https://www.w3schools.com/html/html5_video.asp
20th Mar 2018, 3:18 AM
Mickel
Mickel - avatar
+ 6
Other than the strategies that have been mentioned already, another way would be via embeds. Many streaming/video-based websites (as well as social-media) provide features that allow you to copy/paste embedded versions of media to be shared elsewhere. Let us know if your question has been answered.
20th Mar 2018, 8:08 AM
Fox
Fox - avatar
+ 4
Thank you 😊 for all your suggestions! It really helped me! Now I have made my code from your suggestions: https://code.sololearn.com/WR6RaiVHqJD0/?ref=app
20th Mar 2018, 4:02 PM
JTLZ
+ 3
I also found another way! https://www.sololearn.com/learn/338/
20th Mar 2018, 6:50 PM
JTLZ