# import class that allow us to open url from web browser.
# In this case, class webbrowser (taken from Python Standard Library).
import webbrowser


# class named Movie was created.
class Movie():

    # Create __init__ funtions to store the attributes for movies.
    # The attributes stored: title, storyline, poster image and trailer video.
    def __init__(self,
                 movie_title,
                 movie_storyline,
                 poster_image,
                 trailer_youtube):
            self.title = movie_title
            self.storyline = movie_storyline
            self.poster_image_url = poster_image
            self.trailer_youtube_url = trailer_youtube

        # Create the function to open video url through default browser.
    def show_trailer(self):
            webbrowser.open(self.trailer_youtube_url)

9d7b3a72af0d597b51ee3deef7cf4c59891cfb2b
<mask token>

<mask token>


class Movie:
    <mask token>

    def show_trailer(self):
        webbrowser.open(self.trailer_youtube_url)

<mask token>


class Movie:

    def __init__(self, movie_title, movie_storyline, poster_image,
        trailer_youtube):
        self.title = movie_title
        self.storyline = movie_storyline
        self.poster_image_url = poster_image
        self.trailer_youtube_url = trailer_youtube

    def show_trailer(self):
        webbrowser.open(self.trailer_youtube_url)

import webbrowser


class Movie:

    def __init__(self, movie_title, movie_storyline, poster_image,
        trailer_youtube):
        self.title = movie_title
        self.storyline = movie_storyline
        self.poster_image_url = poster_image
        self.trailer_youtube_url = trailer_youtube

    def show_trailer(self):
        webbrowser.open(self.trailer_youtube_url)

# import class that allow us to open url from web browser.
# In this case, class webbrowser (taken from Python Standard Library).
import webbrowser


# class named Movie was created.
class Movie():

    # Create __init__ funtions to store the attributes for movies.
    # The attributes stored: title, storyline, poster image and trailer video.
    def __init__(self,
                 movie_title,
                 movie_storyline,
                 poster_image,
                 trailer_youtube):
            self.title = movie_title
            self.storyline = movie_storyline
            self.poster_image_url = poster_image
            self.trailer_youtube_url = trailer_youtube

        # Create the function to open video url through default browser.
    def show_trailer(self):
            webbrowser.open(self.trailer_youtube_url)
