TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
[SOLVED] Encountering Compiling Error with HTML5 Video Extension
Pages:
1
[SOLVED] Encountering Compiling Error with HTML5 Video Extension
supremelorax
Posts: 41
September 02, 2020, 09:40:46 am
"variable requires type-hint or initialization?"
I am trying to use mdotedot's html5 extension to load a youtube video but get this error.
I get the same error when trying to compile the demo from mdotedot's website.
Any ideas?
« Last Edit: September 02, 2020, 01:15:32 pm by supremelorax »
mdotedot
Posts: 1654
September 02, 2020, 10:54:15 am
The demo doesn't give an error on my end. Running on Stencyl build 10561.
On listbox two and three it does say : Video is not available due to the removal of the videos, but the first one does work.
allthough I recall that previously the autoplay did work it now appears to be altered on the youtube side. Not sure what needs to be done. But it does not throw an error during compilation or execution on Chrome.
Also I noticed that when I used another youtube video you had to explicitly say to use HTTP instead of HTTPS.
So if you use this kind of URL:
https://www.youtube.com/watch?v=mhT5bW7z98c
you have to alter it to this:
http://www.youtube.com/embed/mhT5bW7z98c?&autoplay=1
Hope this helps.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.
supremelorax
Posts: 41
September 02, 2020, 11:34:14 am
Thank you for checking in!
I haven't even been able to test yet because I can't get past compiling. I did just notice I am using build 10468. I will try updating and see if it let's the compiler kick it out. Here is the error log I am receiving from the demo when compiling:
supremelorax
Posts: 41
September 02, 2020, 11:44:56 am
Upgraded to the current build but I am still getting the same error. I see that another person had this issue a few months back...
http://community.stencyl.com/index.php?topic=59992.0
I am hoping there is some simple solution to this as your extension will enhance my programs greatly!
mdotedot
Posts: 1654
September 02, 2020, 12:03:20 pm
Maybe I have a newer version of the extension on my computer.
I just uploaded the extension to the site. Maybe try to reload the extension by Ctrl-Clicking on the download button to force new version.
Or use this URL to download it:
http://photoquesting.com/repo/download/HTML5.zip?version=34
Remove the extension folder you have in the engine-extensions folder. Do not rename the folder since it will then still be recognized in Stencyl.
Restart Stencyl and try to compile the demo again.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.
supremelorax
Posts: 41
September 02, 2020, 01:15:16 pm
That did the trick! I will be using your extension to offer quick access to tutorial videos and your amazing work is going to make my programs even better. Thank you again!
Pages:
1