How can I get a video and image links from the internet and from my phone gallery? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?😓

14th Sep 2023, 10:40 PM
Joellah
Joellah - avatar
5 Answers
+ 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>
15th Sep 2023, 12:41 AM
𝓭𝓪𝓿𝒾𝓭
𝓭𝓪𝓿𝒾𝓭 - avatar
+ 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
16th Sep 2023, 2:53 PM
Dagne Negeri Deso
Dagne Negeri Deso - avatar
+ 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
16th Sep 2023, 1:39 PM
Hussein Al Najjar
Hussein Al Najjar - avatar
0
Okay!
15th Sep 2023, 5:06 PM
Joellah
Joellah - avatar