Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #20600

    Hi,

    firstly thank you for that great template !

    I wondered if there were a way to call a music (mp3, ogg…) via ajax on your theme ?

    I saw there is some ajax codes in your template so maybe I could use that to play a track in continuous flow when switching on other pages of my website ?

    Thanks !

    #108263

    Hi,

    no, this is not easily possible. The ajax function is just used for the portfolio (eg: http://www.kriesi.at/themes/choices/template-files/portfolio-2-columns/ and click on a portfolio item/entry to see the effect) but you can’t use it to “ajaxify” the entire theme (or tbh you can but it won’t save you time/work). You can try a plugin like: http://wordpress.org/extend/plugins/tierra-audio-with-autoresume/ which allows you to resume the music.

    #108264

    OK, thank you very much for your answer, will try this plugin and see !

    I had a last question :

    I use in one of my page the dragdealer.js to make a nice touch slideshow and, in one of my screen I’ve got a video (included with a HTML5 video tag) as a background that plays on load. This thing is, when I refresh the browser, there’s just a black screen, the video is not loading like the first time I saw the page… It’s a little weird. I use video-js lib as well. Any idea ?

    Have a great day.

    #108265

    Hi,

    Which page ?

    Thanks,

    Nick

    #108266

    A classic page with only a “post/page content” tab in its Template Builder.

    I can’t give you the URL because the site is in maintenance mode…

    Here is a part of the code in HTML mode written on the page :

    <div id=”video-loop-wrapper”>

    <div id=”video-loop”>

    <video id=”bg_video” width=”800″ height=”450″ class=”video-js” loop=”loop” preload=”metadata” autoplay=”autoplay” poster=”My_poster_URL”>

    <source src=”My_mp4_URL” type=”video/mp4″ />

    <source src=”My_webm_URL” type=”video/webm” />

    <source src=”My_ogv_URL” type=”video/ogg” />

    </video>

    </div>

    </div>

    Do you think the problem comes from a Myme type issue ?

    #108267

    Hi Blackthorns,

    Without viewing the page live I’m not sure any of us can give any kind of guess on what might be happening.

    Regards,

    Devin

    #108268

    Hi,

    This maintenance mode plugin ( http://wordpress.org/extend/plugins/wp-maintenance-mode/ ) has exceptions for those with login/pw , please set it up in order for us to help.

    Thanks,

    Nick

    #108269

    Hi, the site will be online tomorrow so we could debug that together at this time !

    Thank you very much for your quick feedbacks ;)

    #108270

    Just post a link once it is live and we’ll take a look then :)

    #108271

    Hi so here’s my website : http://massenez.com/ and when I was talking about full background videos it was for the cocktails pages such as : http://massenez.com/en/her-cocktails/miss-massenez-cocktail/.

    I found how to autoplay the videos by appending them with javascript and not in post pages. This way, the videos always work.

    Just on Safari, we can just see the poster pic, not the autoplay video loop… Why ?

    Also, when I hover “Our products”>”Gammes Eaux-de-Vie Massenez” or “Gamme Crème et Liqueurs Massenez” on Safari, the CSS3 animation doesn’t work… Would you know why ?

    Thx

    #108272

    For the Safari only CSS3 issue, my guess would be the webkit-transition is incorrect for safari specifically. I’m not completely sure but you could try adding in the delay in case safari has a bug with it just set at the default initial or separating them out. Or try setting the starting opacity to 1. I’m not aware specifically of a bug dealing with that either way but with cross browser issues who knows.

    Regards,

    Devin

    #108273

    Hi, thx !

    I changed my css like that :

    .safari #ProductWrapper ul.products-rub li#menu-item-3568:hover,

    .safari #ProductWrapper ul.products-rub li#menu-item-3514:hover {-webkit-animation: cremeTranslateX 5s infinite ease-out !important;}

    and it finally worked ! I think there was a bug with the cubic-bezier property…

    Regards

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Ajax call on a specific element ?’ is closed to new replies.