appsembler / xblock-video Goto Github PK
View Code? Open in Web Editor NEWUniversal Video XBlock with pluggable backend for many video hosting providers
License: GNU General Public License v3.0
Universal Video XBlock with pluggable backend for many video hosting providers
License: GNU General Public License v3.0
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(); }); });
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.
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
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.
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
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']))
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
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:
Transcripts are automatically fetched.
Transcripts are not available.
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 responseQuota impact: A call to this method has a quota cost of 200 units.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.