Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » need help insert video
- mcombarnous
-
New Scratcher
2 posts
need help insert video
Hi everybody,
newbie in this forum, also using Scratch, I need help to insert a video or url in a project: is ti possible?
I looked for help but i didn't find anything.
Can you help me?
Thx
newbie in this forum, also using Scratch, I need help to insert a video or url in a project: is ti possible?
I looked for help but i didn't find anything.
Can you help me?
Thx
- apple502j
-
Scratcher
1000+ posts
need help insert video
You cannot add videos in projects. However, you can link in Notes or Credits.
- hello_2221
-
Scratcher
25 posts
need help insert video
Well, if you had the right tools, you could take all of the frames (a frame is one of MANY pictures, which together cycle very fast to make a video), put all the frames into a sprite, with each costume in the sprite being a different frame (search up costumes if you don't know what they are), and putting in this code:
Replace the variable “name of first frame” with the name of the costume that has the first frame, the “number of frames” variable to the number of frames you have, and the variable “fps” to the amount of frames you want to play each second. (If you don't know what variables are, they're basically a thing that can store a piece of data, such as a word or number. In scratch they are colored orange, but I'm just putting up variables to tell what you need to put in each of them, and they are not really needed in this piece of code.)
Still, this is a lot of work, and I don't really expect the average beginner programmer to understand this, let alone actually do it, so you can just ignore this if you don't understand.
Edit: Apparently the variable “name of first frame” is not showing up correctly and I have no idea how to fix it, so just do what I said for it.
when green flag clicked(First time using scratchblocks, sorry if i messed the code up)
switch costume to [(name of first frame)]
repeat (number of frames)
next costume
wait ((1) / (fps)) secs
end
Replace the variable “name of first frame” with the name of the costume that has the first frame, the “number of frames” variable to the number of frames you have, and the variable “fps” to the amount of frames you want to play each second. (If you don't know what variables are, they're basically a thing that can store a piece of data, such as a word or number. In scratch they are colored orange, but I'm just putting up variables to tell what you need to put in each of them, and they are not really needed in this piece of code.)
Still, this is a lot of work, and I don't really expect the average beginner programmer to understand this, let alone actually do it, so you can just ignore this if you don't understand.
Edit: Apparently the variable “name of first frame” is not showing up correctly and I have no idea how to fix it, so just do what I said for it.
Last edited by hello_2221 (Nov. 5, 2019 11:52:38)
- awesome5185
-
Scratcher
1000+ posts
need help insert video
I will simplify the above response:
1. Convert video to gif
2. Split gif to images
3. Upload images
4. Cycle
Note: You cannot exceed 10mb in a Scratch project so videos aren't advisable.
1. Convert video to gif
2. Split gif to images
3. Upload images
4. Cycle
Note: You cannot exceed 10mb in a Scratch project so videos aren't advisable.
- Discussion Forums
- » Questions about Scratch
-
» need help insert video