Pitusky12 wrote:
GP1 wrote:
MathWizz wrote:
Then what is the point of creating another one?
Are you targeting some other system that mine doesn't work on?GOT IT! After supporting HTML5 users with Canvas, we will work on adding HTML4 support. It is possible, but jQuery would be involved with it.
Yeah!
AND now ours has a full screen mode!! Just like the Scratch Flash player!
Offline
GP1 wrote:
Pitusky12 wrote:
GP1 wrote:
GOT IT! After supporting HTML5 users with Canvas, we will work on adding HTML4 support. It is possible, but jQuery would be involved with it.Yeah!
AND now ours has a full screen mode!! Just like the Scratch Flash player!
okay I made the graphics a little better and tried to make it so once you click the fullscreen button it changes to the exitfullscreen button but I failed. you can get it at jscratch.weebly.com I can't use github it just won't work srry but take a look at it.
Offline
al-x wrote:
GP1 wrote:
Pitusky12 wrote:
Yeah!AND now ours has a full screen mode!! Just like the Scratch Flash player!
okay I made the graphics a little better and tried to make it so once you click the fullscreen button it changes to the exitfullscreen button but I failed. you can get it at jscratch.weebly.com I can't use github it just won't work srry but take a look at it.
but is jscratch.weebly connected to github?
Offline
For the player if someone wants to load their own project in the player we could use this :
<form action="form-handler.php" method="post" enctype="multipart/form-data">
<div>
<input id="myfile" name="myfile" type="file">
<input value="Upload" type="submit">
</div>
</form>
Can Someone here make it ios compatible and jQuery
Last edited by Pitusky12 (2012-10-27 22:24:14)
Offline
I uploaded a new folder and a .php file with nothing in it for the player.
All the player code goes in there.I put a upload and submit button.When you click submit it will redirect you to formhandler.php and load the loader with the project.
Offline
Pitusky12 wrote:
For the player if someone wants to load their own project in the player we could use this :
<form action="form-handler.php" method="post" enctype="multipart/form-data">
<div>
<input id="myfile" name="myfile" type="file">
<input value="Upload" type="submit">
</div>
</form>
Can Someone here make it ios compatible and jQuery
First of all, since this player is in HTML5, we can use drag-n-drop file uploads. But right now, my priority is getting the player up and running. Then I'll work on the .sb2 decoder in PHP (that part wont take long). THEN Ill work on the drag-n-drop uploads. Thats what im going to do, but you can work on any part you like.
And, sorry to say, that wont work on iOS, because Apple doesnt allow file downloads. And jQuery, yes, I have found a solution. But we should prioritize the actual player first.
Offline
Pitusky12 wrote:
I uploaded a new folder and a .php file with nothing in it for the player.
All the player code goes in there.I put a upload and submit button.When you click submit it will redirect you to formhandler.php and load the loader with the project.
But i need an HTML file, for now. I need it for local debugging, THEN ill switch over to the PHP file. Otherwise, i would have to push everytime i change something, so it would be slow and difficult.
Offline
al-x wrote:
GP1 wrote:
Pitusky12 wrote:
Yeah!AND now ours has a full screen mode!! Just like the Scratch Flash player!
okay I made the graphics a little better and tried to make it so once you click the fullscreen button it changes to the exitfullscreen button but I failed. you can get it at jscratch.weebly.com I can't use github it just won't work srry but take a look at it.
The GitHub program only works on Windows 7 and Windows 8. But you can use Eclipse instead.
Offline
Pitusky12 wrote:
GP1:Okay,i know it wont work with ios the code i posted but somehow we could manage to make it open files from Box Or Dropbox app from ios.
Oh. Maybe there is a special protocal for it. I know there is an app that allows you to upload you pictures.
Offline
Ummm....... Can everybody start working in the Git for the actual viewer? So far, I have made the MOST commits. I don't want to do this solo.
Offline
Pitusky12 wrote:
I't doesn't matter who does more commits.What matters is who uploads new stuff ,ideas .I uploaded some new stuff and edited too
I know. I just said that because I felt like I was doing all the work. I'll work on this REALLY hard, though. I might be able to get it done before Thanksgiving! Anyway, it will go faster, since that sample player is EXACTLY what we want, but we can't copy it and use it, I'm currently forking it, using it as an aid for writing a better one.
Offline
Hey, I got a crude player going! And the full screen mode works perfectly! Just let me fix a few errors and I'll push it to the repo.
Offline
GP1 wrote:
Hey, I got a crude player going! And the full screen mode works perfectly! Just let me fix a few errors and I'll push it to the repo.
Ill try to fix some bugs and maybe add more features.
Offline
Pitusky12 wrote:
GP1 wrote:
Hey, I got a crude player going! And the full screen mode works perfectly! Just let me fix a few errors and I'll push it to the repo.
Ill try to fix some bugs and maybe add more features.
There were so many bugs in it that i just got SO frustrated and scrapped that player. Im redoing the whole thing from scratch, and im not using the sample as an aid. Yes, this will take longer, but it will work better. I edited it, but i forgot to push when i got off my familys computer. Ill wait till the morning to push it. My tablet is TOO old for the GitHub app, so i can only use a computer for it.
Offline
GP1 wrote:
Pitusky12 wrote:
GP1 wrote:
Hey, I got a crude player going! And the full screen mode works perfectly! Just let me fix a few errors and I'll push it to the repo.
Ill try to fix some bugs and maybe add more features.
There were so many bugs in it that i just got SO frustrated and scrapped that player. Im redoing the whole thing from scratch, and im not using the sample as an aid. Yes, this will take longer, but it will work better. I edited it, but i forgot to push when i got off my familys computer. Ill wait till the morning to push it. My tablet is TOO old for the GitHub app, so i can only use a computer for it.
Oh Okay,NO
Offline
Pitusky12 wrote:
GP1 wrote:
Pitusky12 wrote:
Ill try to fix some bugs and maybe add more features.There were so many bugs in it that i just got SO frustrated and scrapped that player. Im redoing the whole thing from scratch, and im not using the sample as an aid. Yes, this will take longer, but it will work better. I edited it, but i forgot to push when i got off my familys computer. Ill wait till the morning to push it. My tablet is TOO old for the GitHub app, so i can only use a computer for it.
Oh Okay,NO
???????
Offline
GP1 wrote:
Pitusky12 wrote:
GP1 wrote:
There were so many bugs in it that i just got SO frustrated and scrapped that player. Im redoing the whole thing from scratch, and im not using the sample as an aid. Yes, this will take longer, but it will work better. I edited it, but i forgot to push when i got off my familys computer. Ill wait till the morning to push it. My tablet is TOO old for the GitHub app, so i can only use a computer for it.Oh Okay,NO
???????
sorry i wrote no accidentally.
Offline
I'm trying to fix the script, but I just manually deleted all the useless junk, so the site should be fine untill there is another commit.
@Pitusky12:
Whats this:
user_pref("capability.policy.policynames", "localfilelinks"); user_pref("capability.policy.localfilelinks.sites", "https://github.com/jScratch/jScratch/blob/gh-pages/form%20handler.php/formhandler.php"); user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
EDIT: I fixed the script, no more glitches!
Last edited by pwiter (2012-10-29 20:41:53)
Offline