1. #1
    Sencha User
    Join Date
    Aug 2012
    Location
    Banglore, India
    Posts
    3
    Answers
    1
    Vote Rating
    0
    rak111esh is on a distinguished road

      0  

    Default Answered: Integrate jPlayer with sencha touch 2

    Answered: Integrate jPlayer with sencha touch 2


    I want to integrate jplayer with my sencha project. I have included the js and css in app.json file. However, the question remains where do I instantiate the player? and also where do I write the html code? The following code needs to be taken care of.

    The following Javascript
    Code:
    <script type="text/javascript">
        $(document).ready(function(){
            $("#jquery_jplayer_1").jPlayer({
                ready: function () {
                    $(this).jPlayer("setMedia", {
                        webmv: "http://www.jplayer.org/video/webm/Big_Buck_Bunny_Trailer.webm",
                    });
                },
                swfPath: "../js",
                supplied: "webmv",
            });
        });
    </script>
    And this HTML
    Code:
    <div id =....>
          <div id = "jquery_jplayer_1">
                       .....
          </div>
    </div>

  2. HTML part I added to the view.

    But I was having problems with the javascript part. So modified it a little bit and put it in a painted event. Now it works fine.

  3. #2
    Sencha User
    Join Date
    Aug 2012
    Location
    Banglore, India
    Posts
    3
    Answers
    1
    Vote Rating
    0
    rak111esh is on a distinguished road

      0  

    Default


    HTML part I added to the view.

    But I was having problems with the javascript part. So modified it a little bit and put it in a painted event. Now it works fine.

  4. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    vinset is on a distinguished road

      0  

    Default


    Can you post an entire example of Jplayer integrated? Tnx

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi