Dear All,

I have modify the code into
[dspace-3.2-src-release]dspace-xmlui\src\main\webapp\themes\Mirage\lib\xsl\aspect\artifactbrowser\item-view.xsl


> *<div class="thumbnail-wrapper">*
> *                <a class="image-link">*
> *                    <xsl:attribute name="href">*
>
> * <!-- HREF [ START ] -->*
> * <xsl:if test="@MIMETYPE = 'video/mp4' or @MIMETYPE = 'video/x-flv'"> *
> *
> <i18n:text>http://192.168.251.220/irplayer/play.php?vLink=http://192.168.251.99:8080
> <http://192.168.251.220/irplayer/play.php?vLink=http://192.168.251.99:8080></i18n:text>
> *
> * <xsl:value-of select="mets:FLocat[@LOCTYPE='URL']/@xlink:href"/>*
> * </xsl:if> *
> * <!-- HREF [ END ] -->*
>
> * <xsl:if test="@MIMETYPE != 'video/mp4'"> *
> * <xsl:value-of select="mets:FLocat[@LOCTYPE='URL']/@xlink:href"/>*
> * </xsl:if> *
>
> *                    </xsl:attribute>*
>
> * <xsl:choose>          *
>
> * <xsl:when test="$context/mets:fileSec/mets:fileGrp[@USE='THUMBNAIL']/*
> *                        mets:file[@GROUPID=current()/@GROUPID]"> *
> *                            <img alt="Thumbnail">*
> *                                <xsl:attribute name="src">*
> *                                    <xsl:value-of
> select="$context/mets:fileSec/mets:fileGrp[@USE='THUMBNAIL']/ *
> *
> mets:file[@GROUPID=current()/@GROUPID]/mets:FLocat[@LOCTYPE='URL']/@xlink:href"/>*
> *                                </xsl:attribute>*
> *                            </img> *
> *                        </xsl:when>*
>
>
> * <!-- Bhavesh [ START ] --> *
> * <xsl:when test="@MIMETYPE = 'video/x-flv' or @MIMETYPE = 'video/mp4'">*
> *                           <i18n:text>Play Video</i18n:text> *
> *                        </xsl:when> *
> * <!-- Bhavesh [ END ] -->*
>
> *                        <xsl:otherwise>*
> *                            <img alt="Icon" src="{concat($theme-path,
> '/images/mime.png')}" style="height: {$thumbnail.maxheight}px;"/> *
> *                        </xsl:otherwise>*
>
> *                    </xsl:choose>*
> *                </a>**            </div>*

 I have set the condition for .mp4 and .flv MIME TYPE.

It's Working Fine.. But it will open the URL into same browser .. What I
want is When anyone click on that "Play Video" then it's open into New tab
or new window.

Means I want to set property target="_blank" into <a>

Please let me know if anyone know...


Thanks & Regards,
*Bhavesh R. Patel *

*Please consider the environment before printing this e-mail.*
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to