#34: Ability to add videos from other sites
----------------------------------------+-----------------------------------
          Reporter:  and                |       Owner:            
              Type:  feature            |      Status:  new       
          Priority:  critical           |   Milestone:  4.5.2     
         Component:  PlumiVideoProduct  |    Severity:  New Ticket
        Resolution:                     |    Keywords:            
Who will test this:  And                |  
----------------------------------------+-----------------------------------

Comment (by sam):

 Adding here the issue mentioned in mailing list:

 8.After doing some work on the external video feature, namely changing the
 workflow of external videos to be the plumi workflow, I put those
 changes into action by deactivating and reactivating plumi.app ('Plumi')
 in the control panel for the staging site. This causes an immediate bug
 with an exception thrown from plumi.content's brain_rendering.py

 Module plumi.content.browser.brain_rendering, line 98, in video_tag
 IndexError: list index out of range


 this comes from the line 'video = '... below :
 def video_tag(self):
    path =
 self.video.url[len(self.__parent__.context.absolute_url())+1:]+'/@@embed_view'
    self.request['width'] = 525
    html = self.__parent__.context.restrictedTraverse(path)(self.request)

    video = '<video' + html.split('<video')[1].split('<div
 id="portlets-footer"')[0].split('<div id="portal-footer">')[0]
    return video


 .. and the root cause seems to be that the @@embed_view view is
 returning an empty string. eg.

 http://staging.engagemedia.org:9080/Members/AIPP/videos/Our-Forest-Our-
 Life-Burmese.mp4.mp4/@@embed_view

 -> (nothing)

 ... leading to the string manipulation code to fail.

  I suspect that view comes from collective.transcode.star, but
 reinstalling that seems to have no effect.

-- 
Ticket URL: <http://plumi.org/ticket/34#comment:61>
Plumi <http://plumi.org/>
Plumi - FOSS Video Sharing Platform
_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to