Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Is Elearning vedio type only support youtube and google?

Subscribe

Get notified when there's activity on this post

This question has been flagged
elearning
5 Replies
8906 Views
Avatar
YoungTL

Is Elearning vedio type only support youtube and google?

If  I build a file server with IIS or some others, some mp4 files in this folder, I can use chrome to play it.

Does Elearning support to add vedio url like use my own file server or media server.

You know some area can't use any youtube and google service.

1
Avatar
Discard
Avatar
Ray Carnes (ray)
Best Answer

You explain more what Anisha was posting about:


You can add any external link in a Course like this:



You then edit the Course Page to add a screenshot and some text, so your students see this:

When the click the VIDEO link, they will see your content in another Tab.

3
Avatar
Discard
Herve

ok, that's true that Anisha answer about "external links", but the initial question was about "Elearning video type",

anyway, your turnaround is interesting, thanks

Avatar
Anisha Bahukhandi
Best Answer

Hello there, 

You can add video in Odoo E-learning via any external links. YouTube is one of an external link to add video. 

Thanks

Anisha Bahukhandi

1
Avatar
Discard
Herve

That's not that simple : it clearly doesn't work for me !

Herve

I checked your answer quite deep in the code odoo v13 and it is simply wrong

Avatar
Kashif Aziz
Best Answer

we have module that support local uploaded videos too

0
Avatar
Discard
Avatar
YoungTL
Author Best Answer

Thank you for your answer

But when I add content like this "https://v.youku.com/v_show/id_XNDQ0NTYwODgwNA==.html".
And I had try many urls, it's always tips like this "Could not fetch data from url. Document or access right not available: Unknown document".

And in the source codes, there are so many codes about youtube and google. 

url = fields.Char('Document URL', help="Youtube or Google Document URL")
document_id = fields.Char('Document ID', help="Youtube or Google Document ID")

def _find_document_data_from_url(self, url):
url_obj = urls.url_parse(url)
if url_obj.ascii_host == 'youtu.be':
return ('youtube', url_obj.path[1:] if url_obj.path else False)
elif url_obj.ascii_host in ('youtube.com', 'www.youtube.com', 'm.youtube.com'):
v_query_value = url_obj.decode_query().get('v')
if v_query_value:
return ('youtube', v_query_value)
split_path = url_obj.path.split('/')
if len(split_path) >= 3 and split_path[1] in ('v', 'embed'):
return ('youtube', split_path[2])


0
Avatar
Discard
Avatar
Herve
Best Answer

I have the same issue. I tried with a simple .mp4 file in a directory with free access on internet and a quite small file : 3Mbytes.

The result is the same : "Could not fetch data from url. Document or access right...."

I searched into the code and found the same function as @youngTl in the odoo v13 code :

the only url authorized are from : 'youtube.be', youtube.com', 'www.youtube.com', 'm.youtube.com'
and docs.google.com and drive.google.com with some /d/ in it's url
everything else will return the error we got.

I didn't found the trick to get it from drive.google.co.

but after some difficulties, I succeded to do it with this url : https://drive.google.com/file/d/1AeaRXWV2Jg1K0jqC6Nlm4YQvO7XZamn5/view

so I succeeded to register my video in my lesson, but when I when to display the video I get this error : "Video unavailable This video has been removed by the uploader" despite the fact that the video works perfectly if I put the url directly into my browser : here, even the error message is wrong !

At the end of the day, I think that Odoo accepts only "Youtube or Google Doc URL" : it uses the url only to extract an id of document which is specific to youtube for the videos and at the end it only accepts to cast Youtube videos. Why ? It's a pity, isn't it ?

And at the end of the end of the day, as a workaround, I put my video as an additional link in an empty lesson. By this way, my students can cast it ...

0
Avatar
Discard
Ray Carnes (ray)

Any external URL that a browser can render is acceptable - please see my answer.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Where are uploaded eLearning documents stored? Can I modify the location?
elearning
Avatar
Avatar
Avatar
2
Jul 23
3725
Can you set prices for your courses in Odoo eLearning and enable payment from customers?
elearning
Avatar
Avatar
1
Oct 22
8651
E-learning PowerPoint files
elearning
Avatar
Avatar
Avatar
2
May 25
10203
Upload Video from compute in e-Learning Module V13 ? Solved
elearning
Avatar
Avatar
Avatar
2
Mar 22
6292
eLearning with SCORM standard compatibility
elearning
Avatar
Avatar
Avatar
2
Dec 21
11159
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now