code: def __iter__(self):
      if self.media_type == fomm.VIDEO:
          return iter(self._frames)
  
      raise ValueError("Image samples are not iterable")
  
imports: import os
  from bson import ObjectId
  from fiftyone.core.document import Document, DocumentView
  import fiftyone.core.frame
  import fiftyone.core.frame_utils
  import fiftyone.core.labels
  import fiftyone.core.metadata
  import fiftyone.core.media
  import fiftyone.core.odm
  import fiftyone.core.utils
  from fiftyone.core.singletons import SampleSingleton
label_desc: Use image node_id 5 for calling the _SampleMixin obj's underlying member method code with example usage: obj.__iter__() and returns: iter