mjackson / mjackson/shadowbox

vimeo video in shadowbox now fails

Open
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
293
Forks
110
PR merge metrics
No merged PRs in 30d

Description

Hello Michael et alia,
Here's a js invocation of shadowbox that used to work and now fails.

function sbInteriorVideo(clipId){
    var clipID = clipId

    $("#sb-body, #sb-loading").css({"background-color": "black"});
    $("#sb-loading-inner span").css({"color": "white"});

    Shadowbox.open({
        options: {
            flashVars:{clip_id:clipID, autoplay:'true', fullscreen: 'true'},
            enableKeys: false,
            overlayColor: '#505',
            overlayOpacity: 0.3,
            resizeDuration: 0.5,
            onClose: function(){
                $("#sb-body, #sb-loading").css({"background-color": "white"});
                $("#sb-loading-inner span").css({"color": "#800"});
            }
        },
        player: 'swf',
        width: 853,
        height: 480,
        content: 'http://vimeo.com/moogaloop.swf'
    });
};

Vimeo's familiar video box appears in a shadowbox, but no video stream, and my console reports:
GET https://11-lvl3-hls.vimeocdn.com/1458682415-0da4e690a70c1a438ada4a889dd0e17dfbb749dd/01/3106/0/15530602/29638816.mp4.m3u8 404 (Not Found)

even though I've verified that there is a video at vimeo with that clipID
shadowbox-js.com seems to be down and I'm fumbling around trying to figure out a fix; any clues?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the sbInteriorVideo function and Shadowbox.open configuration shown in the report, then reproduce the Vimeo request and inspect the player integration. Determine whether the failure is in Shadowbox or Vimeo's external stream; done means a verified fix for the reported clip or a documented incompatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.