Initial commit
This commit is contained in:
8
pyvidplayer2/examples/subtitles_demo.py
Normal file
8
pyvidplayer2/examples/subtitles_demo.py
Normal file
@@ -0,0 +1,8 @@
|
||||
'''
|
||||
This is an example showing how to add subtitles to a video
|
||||
'''
|
||||
|
||||
|
||||
from pyvidplayer2 import Subtitles, Video
|
||||
|
||||
Video(r"resources\trailer2.mp4", subs=Subtitles(r"resources\subs2.srt")).preview()
|
||||
Reference in New Issue
Block a user