0
Welcome Guest! Login
0 items Join Now

SOLVED RokBox... youtube start at 50s, how to?

  • SOLVED RokBox... youtube start at 50s, how to?

    Posted 3 years 3 months ago
    • Dear all:
      Just wondering how to do this:
      <a data-rokbox href="https://www.youtube.com/watch?v=PEhAXggHUNA&start=4637">Interview</a>

      The rokbox output to this would be this:
      <iframe src="//www.youtube.com/embed/PEhAXggHUNA?autoplay=1&amp;autohide=1&amp;fs=1&amp;rel=0&amp;hd=1&amp;vq=hd1080&amp;wmode=opaque&amp;enablejsapi=1" style="display: block; visibility: visible; width: 1067px; height: 600px; max-width: 1058px; max-height: 594px;" id="IFrame_ipzf7hxl" name="IFrame_ipzf7hxl" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" resize="true" frameborder="0" height="600.1875" width="1067"></iframe>

      New Url omits start=4637, therefor movie start at the very begining.
      How to avoid this problem?
      Thanks
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22222
    • Thanks: 2635
    • Web Developer

    Re: SOLVED RokBox... youtube start at 50s, how to?

    Posted 3 years 3 months ago
  • Re: SOLVED RokBox... youtube start at 50s, how to?

    Posted 3 years 3 months ago
    • No luck :(

      Here the rockbox call:
      <a data-rokbox="" href="https://www.youtube.com/watch?v=PEhAXggHUNA#t=4637">Entrevista</a>

      Here the output:
      <iframe src="//www.youtube.com/embed/PEhAXggHUNA?autoplay=1&amp;autohide=1&amp;fs=1&amp;rel=0&amp;hd=1&amp;vq=hd1080&amp;wmode=opaque&amp;enablejsapi=1" style="display: block; visibility: visible; width: 1067px; height: 600px; max-width: 1058px; max-height: 594px;" id="IFrame_ipzouwda" name="IFrame_ipzouwda" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" resize="true" frameborder="0" height="600.1875" width="1067"></iframe>

      Same situation. Already tried with other url formats, such youtu.be/PEhAXggHUNA#t=4637, and youtube.com/embed... no success, same result.
      Is any way to provide those link properties through a data-rokbox-caption or something like that?
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22222
    • Thanks: 2635
    • Web Developer

    Re: SOLVED RokBox... youtube start at 50s, how to?

    Posted 3 years 3 months ago
  • Re: SOLVED RokBox... youtube start at 50s, how to?

    Posted 3 years 3 months ago
    • What about the autoplay?

      1.- Hidden movie
      <div id='video-hidden' style='visibility:hidden'>
      <iframe src="https://www.youtube.com/embed/PEhAXggHUNA?autoplay=1&start=4666" width="420" height="315" frameborder="0" allowfullscreen></iframe>
      </div>

      2.- Rockbox Call
       <a data-rokbox href="#" data-rokbox-element=".video-hidden">Interview</a>

      Did I understood properly the idea?
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22222
    • Thanks: 2635
    • Web Developer

    Re: SOLVED RokBox... youtube start at 50s, how to?

    Posted 3 years 3 months ago
  • Re: SOLVED RokBox... youtube start at 50s, how to?

    Posted 3 years 3 months ago
    • It did not work well within the a slideshow.
      Anyway, we plan to do extensive use of this feature, here an example:
      http://roman-culture.gq/

      Our custom shortcodes will automatically use that feature... meaning, it will be a site policy.
      This mechanism (with hidden div, etc.) will be very problematic.
      Do you think future verions of rokbox could solve this issue? For instance, with an additional tag to allow the addition of custom parameters in the URL.
      If you check the link above, you will see many of those links embeded in the text, that's the idea.

      Thank you for your help
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22222
    • Thanks: 2635
    • Web Developer

    Re: SOLVED RokBox... youtube start at 50s, how to?

    Posted 3 years 3 months ago
  • Re: SOLVED RokBox... youtube start at 50s, how to?

    Posted 3 years 3 months ago
    • Thank you... eventually tokenized parameters and treat them one by one could be an easy solution.
      Kindest regards

Time to create page: 0.092 seconds