old_contents: import webbrowser
  
  class Movie():
  	""" This class stores movie related information along with ability to show a movie trailer. """
  
      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)
  
new_contents: import webbrowser
  
  
  class Movie():
      """ This class stores movie related information along with the ability to show a movie trailer. """
  
      VALID_RATINGS = ["G", "PG", "PG-13", "R"]
  
      def __init__(self, movie_title, movie_storyline, poster_image, trailer_youtube):
          """ The input parameters are movie title, movie storyline, poster_image and youtube Url. """
  
          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)
  
subject: Update media.py