Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 32704a3

Browse files
committed
sample app update
1 parent 5414f8d commit 32704a3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sample_app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
app.install(plugin)
1111

1212
CONFIG = {
13-
'client_id': 'dc8c85c161354f7ca30eb604659ad050',
14-
'client_secret': 'a028e0af338e40c8bdc9b64d8bb93841',
13+
'client_id': '<client_id>',
14+
'client_secret': '<client_secret>',
1515
'redirect_uri': 'http://localhost:8515/oauth_callback'
1616
}
1717

@@ -74,7 +74,7 @@ def on_recent(session):
7474
photos = []
7575
for media in recent_media:
7676
if(media.type == 'video'):
77-
photos.append('<video controls width="150" height="150"><source type="video/mp4" src="%s"/></video>' % (media.videos['low_resolution'].url))
77+
photos.append('<video controls width height="150"><source type="video/mp4" src="%s"/></video>' % (media.videos['low_resolution'].url))
7878
else:
7979
photos.append('<img src="%s"/>' % (media.images['thumbnail'].url))
8080
content += ''.join(photos)

0 commit comments

Comments
 (0)