pisi / Reel

The premier 360° solution for jQuery.
http://reel360.org
MIT License
690 stars 210 forks source link

Phonegap #128

Open sphereoid opened 11 years ago

sphereoid commented 11 years ago

I tried using this in an app I am writing using phone gap. Sadly it did not work. The code works in a normal browser but not the app when I build the test.

pisi commented 11 years ago

@sphereoid You have all my sympathy mate, but this description is really quite vague... Please either provide a test case or specify as much details as you can. How exactly does it fail? What DOES it do? Does it throw any errors? What versions do you use? Does it fail in isolation from rest of your app? Thanks

MadBrew commented 11 years ago

Yeah, I have the same issue. I set it up in the HTML page like this:

<div id="engine">
    <img id="threesixty" src='Images/Engine/01.png' width="430" height="330" alt="Pegasus Engine"/>
         <script type="text/javascript">
                        $(function () { // when DOM ready
                            $('#threesixty').reel({
                                cursor: "hand",
                                cw: true,
                                frames: 45,
                                speed: 0.35,
                                delay: 1,
                                images: "Images/Engine/##.png"
                            });
                        });
        </script>
    <p>Copy text</p>
</div>

I also ensured the .cur files were local. When I output with PhoneGap to iOS, it only shows the img file and I get no errors.

paiot commented 10 years ago

The problem is size of image: on iPAD i'll fall all time... maybe the use of memory in javascript. Similar projects in php don't fall.