How to play YouTube videos on Django web app details in Bangla

Published: 03 September 2020
on channel: Easily CSE Learn
581
12

#Django#embeded_youtube_videos#Django_Youtube#Django_eCommerce
#easy_cse_learn
Here shown
Django app for easy embedding YouTube and Vimeo videos and music from SoundCloud.
follow the instructions:
1) install : pip install django-embed-video
2) Add embed_video to INSTALLED_APPS in your Django settings.

INSTALLED_APPS = (
...

'embed_video',
)
3) First you have to load the embed_video_tags template tags in your template:

{% load embed_video_tags %}

4)In models.py add this
from embed_video.fields import EmbedVideoField

class Item(models.Model):
video = EmbedVideoField() # same like models.URLField()
5) python manage.py makemigrations
6) python manage.py migrate
7)add this in admin.py :
from embed_video.admin import AdminVideoMixin
from .models import Item

class MyModelAdmin(AdminVideoMixin, admin.ModelAdmin):
pass

admin.site.register(Item, MyModelAdmin)
8)Follow the videos and enjoy .



Python programming series:
   • python programming  
Django CRUD operations Learn:
   • Intro lecture of CRUD operation and p...  
Django To heroku series:
   • How to deploy Django website in Herok...  

Any Query Contact With us:
  / easycsebangla  
source Code available in github:
https://github.com/MdRanaSarkar/DJang...


Watch video How to play YouTube videos on Django web app details in Bangla online without registration, duration hours minute second in high quality. This video was added by user Easily CSE Learn 03 September 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 581 once and liked it 12 people.