+ 1
How can I get a video and image links from the internet and from my phone gallery?
I'm a newbie, and I have been struggling to get an image and video link to add to my code, but all to no avail. Can someone please help me?đ
5 Answers
+ 4
Phone gallery won't work on Sololearn. You'll need to see what others have done:
https://www.sololearn.com/discuss/1803850/?ref=app
https://www.sololearn.com/discuss/2390690/?ref=app
https://www.sololearn.com/discuss/1325165/?ref=app
https://www.sololearn.com/discuss/803683/?ref=app
+ 3
Inserting an image and video in your code, can achieved through the following:
1. Image
<img src="image_path.png" alt="image descriptionâ>
2. Video
<video controls>
<source src="video_path.mp4" type="video/mp4">
</video>
+ 2
Depending on the platform or programming environment you're using, the procedure will vary for obtaining video and image links from the Internet and your phone gallery.
Here are some general strategies for various situations:
1. For HTML and JavaScript for Web Development
The "img" and "video" tags can be used to show images and videos on the internet, respectively. Set the URL of the desired picture or video in the src attribute of these elements.
You normally need to upload your photos and videos to a server or cloud storage service in order to access them from your phone gallery. Once files are uploaded, you can get their URLs and use them in your HTML code............
you can ask again for more information
+ 1
By :
<img src:"image_name.png or jpeg"
And
<Video controls>
<Source src="video_source.mp4"
Make sure that the image or the video you insert is saved in the same file that the HTML and CSS files are saved on
0
Okay!