Exemple #1
0
def embed_youtube_video(podcast, episode, user):
    s = """embedYoutubeVideo("%s", "%s", "%s", "%s");""" % (
        youtube.get_youtube_id(episode.url),
        user.username,
        podcast.url,
        episode.url,
    )

    return s
Exemple #2
0
def embed_youtube_video(podcast, episode, user):
    s = """embedYoutubeVideo("%s", "%s", "%s", "%s");""" % (
        youtube.get_youtube_id(episode.url),
        user.username,
        podcast.url,
        episode.url,
    )

    return s
Exemple #3
0
def get_youtube_id(url):
    return youtube.get_youtube_id(url)
Exemple #4
0
def get_youtube_id(url):
    return youtube.get_youtube_id(url)