Giter Club home page Giter Club logo

xblock-video's People

Contributors

ahmadshafique avatar bryanlandia avatar deniskolesnik avatar dependabot[bot] avatar dorosh avatar glugovgrglib avatar madeira avatar matthewf-ucsd avatar maximst avatar natea avatar opersian avatar otecmuxah avatar pyup-bot avatar sendr avatar tamoshaytisv avatar thraxil avatar valera-rozuvan avatar wowkalucky avatar xahgmah avatar z4y4ts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xblock-video's Issues

Problems with vimeo player

  • videos from vimeo are not responsive
  • control bar from vimeo is visible, so there are two bars visible - default xblock video and vimeo bar

Youtube transcripts import doesn't work

Expected Behavior

Transcripts are automatically fetched.

Actual Behavior

Transcripts are not available.
Screenshot 2021-11-30 at 12 23 20

Steps to Reproduce the Problem

  1. Create a video unit;
  2. Add a video URL for video that has transcripts (e.g. https://www.youtube.com/watch?v=3_yD_cEKoCk);
  3. Check the transcripts section of the video-xblock advanced settings.

Specifications

  • Version: v1.0.2
  • Platform: Lilac

Notes

  • https://video.google.com/timedtext?lang={lang_code}&v={video_id} (fetch transcript) and video.google.com/timedtext?type=list&v={video_id} (list available to get name if any) -- always returns 200 and empty response
  • I've not found any documentation or changes description for the API
  • I've found that API stopped working as it was starting from November 2021
  • As described here, google doesn't support API used by video block transcripts
  • Looks like transcripts upload functionality should be updated to use the actual documented Youtube API https://developers.google.com/youtube/v3/docs/captions
    The problems we'll face in this case:
  • This API requires auth (api_key is enough)
  • It returns JSON response (current implementation expects XML)
  • Don't know what the docs telling about when saying Quota impact: A call to this method has a quota cost of 200 units.

BrightCove has deprecated playback speed setup method used

Putting the data attribute on the <video> tag is deprecated by BrightCove

data-setup="{"playbackRates": [0.5, 1.0, 1.5, 2.0] }”

Should be replaced with something like

videojs.registerPlugin('VSP', function () { var player = this; addPlaybackButton = function () { var playbackRateMenuButton = new videojs.getComponent('PlaybackRateMenuButton'); var oldPlaybackRateMenuButton = player.controlBar.playbackRateMenuButton; var playbackRates = new playbackRateMenuButton(player, { playbackRates: [0.5, 1, 1.5, 2] }); player.controlBar.addChild(playbackRates); player.controlBar.el().insertBefore(playbackRates.el, oldPlaybackRateMenuButton.el); player.controlBar.removeChild(oldPlaybackRateMenuButton); }; player.on("ready", function() { addPlaybackButton(); }); });

Problem with Vimeo on Hawthorn release

I've used this tweak and installed the xblock but when I update assets I' m getting this error:

Traceback (most recent call last): File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/plugin.py", line 146, in load_classes yield (class_.name, cls._load_class_entry_point(class_)) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/xblock/plugin.py", line 75, in _load_class_entry_point class_ = entry_point.load() File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2410, in load self.require(*args, **kwargs) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2433, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) ContextualVersionConflict: (beautifulsoup4 4.6.0 (/edx/app/edxapp/venvs/edxapp/lib/python2.7/site-packages), Requirement.parse('beautifulsoup4<4.5.0,>=4.2.1'), set(['pycaption']))

Problem installing on Ironwood

Hi
When I try to install xblock-video on ironwood release I get this error

Obtaining video_xblock from git+https://github.com/appsembler/xblock-video.git#egg=video_xblock
Updating ./venvs/edxapp/src/video-xblock clone
DEPRECATION: Dependency Links processing has been deprecated and will be removed in a future release.
Requirement already satisfied: XBlock<2.0.0,>=0.4.10 in ./venvs/edxapp/lib/python2.7/site-packages (from video_xblock)
Collecting xblock-utils<=1.0.5,>=1.0.2 (from video_xblock)
Could not find a version that satisfies the requirement xblock-utils<=1.0.5,>=1.0.2 (from video_xblock) (from versions: 1.2.0, 1.2.1, 1.2.2)
No matching distribution found for xblock-utils<=1.0.5,>=1.0.2 (from video_xblock)
You are using pip version 9.0.3, however version 19.2.2 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.

I have installation problem

when I run 3rd command
pip install --process-dependency-links -e "git+https://github.com/appsembler/xblock-video.git@dev#egg=video_xblock"
I get this error
don't know what to do

Could not find a tag or branch 'dev', assuming commit.
fatal: ambiguous argument 'dev': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
Command "git reset --hard -q dev" failed with error code 128 in /edx/app/edxapp/venvs/edxapp/src/video-xblock

BrightCove has switched to videojs7

We need to update the CSS classes and make other tests, since the <video> tag now gets the .vjs-v7 class not .vjs-v6, and the styling breaks.

Videojs7 deprecates playback in IE8,9,10.

Cannot create or edit video_xblock units in Hawthorn.1

I was able to install video_xblock in Hawthorn.1 after installing xblock-utils. I can import a course containing video_xblock units, but I cannot edit or create new units. I get the following error:
Error: 'i18n' is not a registered tag library. Must be one of:

Please make 0.6.0 a release in racoongang GitHub

Sorry, I was making comments on commits in 0.5.0 since I thought it was the last release as shown in Releases in racoongang fork. I couldn't make an issue on racoongang fork so I made it here :P

My video not run in open edx mobile app

Hi All

We have been developed new e-learning system using open edx. Thanks to all of contributor of open edx that also provide mobile app that integrate with open edx system. All of our video has been stored in wistia. We also have been set USING_VIDEO_PIPELINE to enabled in mobile apps configuration. My problem is our video is not running in our mobile app.

Could anyone help me on our problem ?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.