Transformer Tag for Community Page

Hello,
I'm trying to build a transformer tag to allow a user to create a link to a Community Page, similar to the Add Pages function in the Edit Links area of the SubPortal Manager. My code is as follows:
<pt:treeLink xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'      pt:windowName='commWindow'
pt:windowFeatures='location=no,menubar=no,height=500,width=300'
pt:RootID='1' pt:Multi='false' pt:SubmitMd='2' pt:SelectMd='2'
pt:Submit='DocumentSubmit' pt:Title='Communities' pt:SubTitle='Select Community' pt:Class='514'>
When I invoke the above code, the window pops up and I see a statement that says "There are no items to select. Click the Cancel button." and I never see any Community Pages. If I change the Class to 512, I see the Communities, but have never been successful in seeing the Community Pages.
Thanks for any help in resolving this.
Regards,
George

Vasanth,
Thanks for your reply. I will be using the pt:openerLink once the user has selected the Community Page they would like to link to. The trouble I'm having is using the pt:treeLink tag to select a Community Page. I can use the treeLink tag to select documents and communities, but I can't seem to select community pages (class 514) using the pt:treeLink tag.
Regards,
George

Similar Messages

  • Can I specify more than one para tag for master page mapping?

    Hi,
    I want to map the same master page to be used by four different tags. Must I create a new row in the mapping table for each or can I separate the tag names by a comma and a space, for example, "Body, Bullet, Heading1, Note"?
    I tried the latter and expected it to work, but it did not.
    Thanks,
    Sean

    > ... create a new row in the mapping table for each ...
    That works, and has no side effects that I've seen.
    It appears, by the way, that FM applies the MP based on the first para tag found that has a MasterPageMaps table entry, so multiple matches per page, even conflicting, are not a problem, as long as getting the MP for first-found is OK with you.

  • Cannot use jstl tag for jsp page which generated from Human Task

    Hi
    Plz help me.
    I have tried to using jstl in jsp which generate from Human Task and I deploy it to server( by ant on Jdev ) to see task detail in Oracle Worklist application. But when i submit task and then I access to worklist to see task detail, the error has show in page that "OracleJSP: An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param debug_mode to "true" to see the complete exception message. " .
    I access server to see application.log to see error and I see error show "workflowform: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: /Header1.jsp: Line # 3, <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%> "
    How do I fix this error?
    PS. I tried to us jstl because I need to connet to database which jstl tag(sql) if somebody has another solution for connect database in task detail page, Please help suggest me.
    Thanks
    user520932

    Is the jstl tag libray loaded in the appsserver?
    Can you use jdbc connection like
    DataSource ds = ic.lookup("java:comp/env/jdbc/myDB");
    Connection con = ds.getConnection();
    DataSource ds = (DataSource) org.apache.derby.jdbc.ClientDataSource()
    ds.setPort(1521);
    ds.setHost("localhost");
    ds.setUser("APP")
    ds.setPassword("APP");
    Connection con = ds.getConnection();
    http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html

  • How to customize / edit wiki theme in content_entry.xsl file to display tags for blog pages and not wiki pages?

    I am trying to customize a wiki theme by displaying the "Edited Today at… by…" for only blog pages and not wiki pages. 
    I tried editing the content_entry.xsl with an xsl if tag, but failed.
    <xsl:if test="context/link='/groups/groupname/weblog/'">
      <div id="entry_date" class="entry_date">
        <a href="{../contentEntry/historyURL}" id="history_link" title="{../../jsstrings/tooltips_history_link}" onclick="return false"><xsl:value-of select="../../strings/History"/></a>
        <span id="history_time_author"><xsl:value-of select="historyTimeAuthor" disable-output-escaping="yes"/></span>
      </div>
    </xsl:if>
    What is the correct <xsl:if test=""> tag, that would execute this? 
    For <xsl:if test="context/"> I believe the content after "context/" are variables like link, baseHREF, contentEntry.  What are other variables I can use?

    I also tried it this way, but does not seem to work. 
      <xsl:if test="context/link='/groups/groupname/weblog/'">
            <xsl:template match="context/entryMeta">
                <div class="metadata" id="entry_metadata">
                    <div class="start startmetadata"><span></span></div>
                        <div class="contents contentsmetadata">
                            <div id="entry_date" class="entry_date">
                                            <a href="{../contentEntry/historyURL}" id="history_link" title="{../../jsstrings/tooltips_history_link}" onclick="return false"><xsl:value-of select="../../strings/
    History"/></a>
                                            <span id="history_time_author"><xsl:value-of select="historyTimeAuthor" disable-output-escaping="yes"/></span>
                                  </div>
                             </div>
                        <div class="end endmetadata"><span></span></div>
                   </div>
              </xsl:template>
         </xsl:if>

  • How can I check if there are meta tags and description tags for my pages on website?

    I want to check if the pages on my website have keywords or meta tags and description. How can I do that?

    In Contribute, Edit the Page and the click on Format, Keywords and Descriptions.

  • I've found {tag_metatitle} is there one for a page meta description?

    This is driving me nutz....
    The add a Page interface has extended options for SEO:
    SEO Metadata
    Page Title:
    Page Description:
    Search Results:
    Show this page for search enginesHide this page for search engines
    The results of this appear in the site generated SiteMap. But, I'm wondering if there is a tag for the Page Description = meta description?
    I have been able to find the tag {tag_metatitle} which seems to work.
    I have also noticed the seo tags in the blog module:
    {tag_blogpostmetadescription}
    Renders the blog post meta description entered in the SEO Metadata Description field in the Blog post interface
    {tag_blogpostmetatitle}
    Renders the blog post meta title entered in the SEO Metadata Title field in the Blog post interface
    Any ideas for work-arounds will also be helpful.
    Thxs

    Hi Liam...that would be way too simple
    But it does work. Thank you for the quick reply.

  • Fixurl transformer tag not working

    Is there any reason why using the pt:transformer pt:fixurl="off" tag wouldn't work. I have some UNC paths in my portlet that are being gatewayed and I don't want them to be. I've tried using the transformer tag before the UNC paths to turn off gatewaying, but it doesn't seem to work. Any suggestions? PS - Other transformer tags for fine for me.
    Best Regards-Andrew

    It's just a standard HREF tag that links to a file using a UNC path.
    <a href="[url=file://\\myserver\temp\TestFile_1.txt\\myserver\temp\TestFile_1.txt[/url" target="_blank">TestFile_1.txt</a>
    It appears that PlumTree views a UNC path as a relative path and thus gateways it, making the link break. So I guess the question is how do I make UNC paths work? Thanks for you help.
    PS - Like you metioned, the docs are a little confusing regarding the fixurl tag.

  • Users are having issues w/ the community page for pa.

    It seems other users are having issues with accessing the community page for pa, as noted on
    URL: http://www.dslreports.com/forum/r22862991-Any-else-out-there-having-issues-w-the-community-page-4-pa
    Title/Location: DSLR (dslreports.com) Forums -> US Telco Support -> Verizon -> Verizon Fiber Optics -> Any else out there having issues w/ the community page 4 pa?
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

    This is what I told at the online chat..
    Richardo: if some people can get to both URLs and others can only get to the new one that could be that the old one is being done away with or if not that then it would have to be the setting for those computers that are not getting to the old one.
    Me: Like what kind of settings?
    Me: I have, as you may know, A Static Public IP (IP, Subnet Mask, Default Gateway, and DNS Servers) as assigned by Verizon.
    Richardo: that would be the settings within the browser.
    Me: like cache, or proxy server for example... ?
    Me: connection setting
    Me: You do not need to tell me where these settings are, just what type of browser settings...
    Me: Please, and thanks.
    Richardo: the security , cookies, temporary internet files
    [EDIT] My appolgies for Cross posting.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • WLS 9.2.2: JSP recompile for every page load with JAR'ed tag files

    I have a small custom tag library of three tag files. With the server running in development mode and the tag files in a JAR (included in WEB-INF/lib), the server appears to be doing a JSP recompile on every page load. However, it only compiles on the first page load if the tag files are included in WEB-INF/tags (no JAR). Also, running the server in production mode with the JAR'ed tag files avoids the recompile for every page load.
              Is that how the server should behave?
              For whatever it's worth, I'm also using Eclipse 3.3.2 with WTP and WebLogic Server Tools 1.1.2. The server is running the Sun JVM (1.5_10).

    Vikram,
              I went back and created a simple example to test. Below I'm posting the Java source code generated from the two relevant files: index.jsp, and hello.tag.
              __index.java:
              package jsp_servlet;
              import java.io.*;
              import java.util.*;
              import javax.servlet.*;
              import javax.servlet.http.*;
              import javax.servlet.jsp.*;
              import javax.servlet.jsp.tagext.*;
              public final class __index extends weblogic.servlet.jsp.JspBase implements weblogic.servlet.jsp.StaleIndicator {
              private static void _releaseTags(javax.servlet.jsp.tagext.JspTag t) {
              while (t != null) {
              if(t instanceof javax.servlet.jsp.tagext.Tag) {
              javax.servlet.jsp.tagext.Tag tmp = (javax.servlet.jsp.tagext.Tag)t;
              t = ((javax.servlet.jsp.tagext.Tag) t).getParent();
              try {
              tmp.release();
              } catch(Exception ignore) {}
              else {
              t = ((javax.servlet.jsp.tagext.SimpleTag)t).getParent();
              public boolean _isStale(){
              boolean stale = staticIsStale((weblogic.servlet.jsp.StaleChecker) getServletConfig().getServletContext());
              return _stale;
              public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
              if (sci.isResourceStale("/index.jsp", 1207926672370L ,"9.2.2.0","America/Denver")) return true;
              if (sci.isResourceStale("/null", 1207926783245L ,"9.2.2.0","America/Denver")) return true;
              return false;
              private static void _writeText(javax.servlet.ServletResponse rsp, javax.servlet.jsp.JspWriter out, String block, byte[] blockBytes)
              throws java.io.IOException {
              if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)){
              out.print(block);
              } else {
              ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
              private static boolean _hasEncodingChanged(javax.servlet.ServletResponse rsp){
              String encoding = rsp.getCharacterEncoding();
              if ( "ISO-8859-1".equals(encoding) || "Cp1252".equals(encoding) || "ISO8859_1".equals(encoding) || "ASCII".equals(encoding) ){
              return false;
              if (_WL_ORIGINAL_ENCODING.equals(encoding)) {
              return false;
              return true;
              private static boolean WLENCODED_BYTES_OK = true;
              private static final String WLORIGINAL_ENCODING = "ISO-8859-1";
              private static byte[] _getBytes(String block){
              try {
              return block.getBytes(_WL_ORIGINAL_ENCODING);
              } catch (java.io.UnsupportedEncodingException u){
              WLENCODED_BYTES_OK = false;
              return null;
              private final static String wlblock0 ="<!--\n * $Id$\n-->\n \n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \n\t\t\"http://www.w3.org/TR/html4/loose.dtd\">\n \n";
              private final static byte[] wlblock0Bytes = getBytes( wl_block0 );
              private final static String wlblock1 =" \n \n\t";
              private final static byte[] wlblock1Bytes = getBytes( wl_block1 );
              private final static String wlblock2 ="\n";
              private final static byte[] wlblock2Bytes = getBytes( wl_block2 );
              private final static String wlblock3 ="\n\n<html>\n<head>\n\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n\n\t<title>Tag File Test</title>\n</head>\n<body> \n\t";
              private final static byte[] wlblock3Bytes = getBytes( wl_block3 );
              private final static String wlblock4 ="\n</body>\n</html>";
              private final static byte[] wlblock4Bytes = getBytes( wl_block4 );
              static private javelin.jsp.JspFunctionMapper jspxfnmap = javelin.jsp.JspFunctionMapper.getInstance();
              public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException, java.io.IOException {
              javax.servlet.ServletConfig config = getServletConfig();
              javax.servlet.ServletContext application = config.getServletContext();
              javax.servlet.jsp.tagext.JspTag _activeTag = null;
              Object page = this;
              javax.servlet.jsp.JspWriter out;
              javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true , 8192 , true );
              response.setHeader("Content-Type", "text/html; charset=ISO-8859-1");
              out = pageContext.getOut();
              javax.servlet.jsp.JspWriter _originalOut = out;
              javax.servlet.http.HttpSession session = request.getSession( true );
              try {;
              response.setContentType("text/html; charset=ISO-8859-1");
              {_writeText(response, out, _wl_block0, _wl_block0Bytes);}
              {_writeText(response, out, _wl_block1, _wl_block1Bytes);}
              {_writeText(response, out, _wl_block2, _wl_block2Bytes);}
              {_writeText(response, out, _wl_block3, _wl_block3Bytes);}
              jsp_servlet._tags.__hello_tag __tag0 = null ;
              int __result__tag0 = 0 ;
              if (__tag0== null )__tag0 = new jsp_servlet._tags.__hello_tag ();
              __tag0.setJspContext(pageContext);
              __tag0.setParent(null);
              activeTag=_tag0;
              __tag0.doTag();
              {_writeText(response, out, _wl_block4, _wl_block4Bytes);}
              } catch (Throwable __ee){
              if(!(__ee instanceof javax.servlet.jsp.SkipPageException)) {
              while ((out != null) && (out != _originalOut)) out = pageContext.popBody();
              releaseTags(activeTag);
              pageContext.handlePageException(__ee);
              __hello_tag.java:
              package jsp_servlet . _tags ;
              import java.io.*;
              import java.util.*;
              import javax.servlet.*;
              import javax.servlet.http.*;
              import javax.servlet.jsp.*;
              import javax.servlet.jsp.tagext.*;
              public final class __hello_tag extends javax.servlet.jsp.tagext.SimpleTagSupport {
              private static void _releaseTags(javax.servlet.jsp.tagext.JspTag t) {
              while (t != null) {
              if(t instanceof javax.servlet.jsp.tagext.Tag) {
              javax.servlet.jsp.tagext.Tag tmp = (javax.servlet.jsp.tagext.Tag)t;
              t = ((javax.servlet.jsp.tagext.Tag) t).getParent();
              try {
              tmp.release();
              } catch(Exception ignore) {}
              else {
              t = ((javax.servlet.jsp.tagext.SimpleTag)t).getParent();
              public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
              if (sci.isResourceStale("/META-INF/tags/hello.tag", 1207926783175L ,"9.2.2.0","America/Denver")) return true;
              return false;
              protected static final String tagxTagInfo = "-84,-19,0,5,116,0,5,104,101,108,108,111,116,0,29,106,115,112,95,115,101,114,118,108,101,116,46,95,116,97,103,115,46,95,95,104,101,108,108,111,95,116,97,103,116,0,5,101,109,112,116,121,112,112,112,112,119,5,0,0,0,0,3,116,0,10,106,115,112,67,111,110,116,101,120,116,119,1,0,116,0,28,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,74,115,112,67,111,110,116,101,120,116,113,0,126,0,4,119,1,1,112,119,2,1,0,112,112,116,0,7,106,115,112,66,111,100,121,119,1,0,116,0,36,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,116,97,103,101,120,116,46,74,115,112,70,114,97,103,109,101,110,116,113,0,126,0,6,119,1,1,112,119,2,1,0,112,112,116,0,6,112,97,114,101,110,116,119,1,0,116,0,31,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,116,97,103,101,120,116,46,74,115,112,84,97,103,113,0,126,0,8,119,1,1,112,119,2,1,0,112,112,119,4,0,0,0,0,112,112,";
              protected JspContext jspContext ;
              public void setJspContext ( JspContext ctx ){
              super . setJspContext ( ctx );
              java.util.List nested = null ;
              java.util.List atBegin = null ;
              java.util.List atEnd = null ;
              this.jspContext = new javelin.jsp.JspContextWrapper(ctx, nested, atBegin, atEnd, null);
              }public JspContext getJspContext() {
              return this.jspContext;
              private java.io.Writer jspxsout;
              private javax.servlet.jsp.tagext.JspTag _activeTag;
              private static void _writeText(javax.servlet.ServletResponse rsp, javax.servlet.jsp.JspWriter out, String block, byte[] blockBytes)
              throws java.io.IOException {
              if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)){
              out.print(block);
              } else {
              ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
              private static boolean _hasEncodingChanged(javax.servlet.ServletResponse rsp){
              String encoding = rsp.getCharacterEncoding();
              if ( "ISO-8859-1".equals(encoding) || "Cp1252".equals(encoding) || "ISO8859_1".equals(encoding) || "ASCII".equals(encoding) ){
              return false;
              if (_WL_ORIGINAL_ENCODING.equals(encoding)) {
              return false;
              return true;
              private static boolean WLENCODED_BYTES_OK = true;
              private static final String WLORIGINAL_ENCODING = "ISO-8859-1";
              private static byte[] _getBytes(String block){
              try {
              return block.getBytes(_WL_ORIGINAL_ENCODING);
              } catch (java.io.UnsupportedEncodingException u){
              WLENCODED_BYTES_OK = false;
              return null;
              private final static String wlblock0 ="\n<center><h1>Hello World</h1></center>";
              private final static byte[] wlblock0Bytes = getBytes( wl_block0 );
              static private javelin.jsp.JspFunctionMapper jspxfnmap = javelin.jsp.JspFunctionMapper.getInstance();
              public void doTag() throws JspException, java.io.IOException {
              javax.servlet.jsp.PageContext pageContext = (javax.servlet.jsp.PageContext) getJspContext();
              javax.servlet.http.HttpServletRequest request = (javax.servlet.http.HttpServletRequest) pageContext.getRequest ();
              javax.servlet.http.HttpServletResponse response = (javax.servlet.http.HttpServletResponse) pageContext.getResponse();
              javax.servlet.http.HttpSession session = pageContext.getSession();
              javax.servlet.ServletContext application = pageContext.getServletContext();
              javax.servlet.ServletConfig config = pageContext.getServletConfig();
              javax.servlet.jsp.JspWriter out = jspContext.getOut();
              javax.servlet.jsp.tagext.JspTag _activeTag = null;
              try {
              {_writeText(response, out, _wl_block0, _wl_block0Bytes);}
              } catch ( Throwable t ){
              if( t instanceof javax.servlet.jsp.SkipPageException )
              {throw (javax.servlet.jsp.SkipPageException)t;}
              if( t instanceof java.io.IOException )
              {throw (java.io.IOException)t;}
              if( t instanceof IllegalStateException )
              {throw (IllegalStateException)t;}
              if( t instanceof javax.servlet.jsp.JspException )
              {throw (javax.servlet.jsp.JspException)t;}
              throw new javax.servlet.jsp.JspException(t);
              finally {
              ((javelin.jsp.JspContextWrapper)jspContext).syncEndTagFile();
              Edited by Stephen Davison at 04/11/2008 9:02 AM

  • Why does people use JSP Tag for their JSP page? (Urgent)

    I don't know what benifit if I am using JSP Tag.
    If anyone knows, pls give me an idea and the advantage of using JSP Tag in JSP Page!
    Thanks in advance!

    You have to read a little about JSP, JSP stands for JavaServer Pages, you can use jsp tags and you can use java code. If you dont want to use jsp tags then you should just write html file, if you just want to use java, then write java class or a servlet.
    The need for jsp arised because people were inserting html code inside a servlet class..a big no no..and a headache. JSP separate model from the view...read a little about MVC-2 model view controller pattern.
    Also read some tutorial on this website...good luck
    K

  • ScriptLink tag not working for application page sharepoint 2010

    <ScriptLink> tag not working for application page sharepoint 2010 for including javascript in application page, it appends either 1033 or _layout to path specified for javascript.But javascripts are located in custom document library on site and not
    in _layouts folder.
    Please help and explain in details as I tried lot on this.

    Hi,
    Use the following line of code
    <SharePoint:Scriptlink runat="server" Name="~sitecollection/Style Library/[YOUR SITE]/js/functions.js" Language="javascript" />
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • Adaptive tag for current community

    Is there a adaptive tag to get the current community data.

    You can display the current community name with the  tag:
    <pt:standard.realmname>
    The community ID is a little bit trickier. It can be extracted from the current community page URLs with the
    <pt:ptdata.currcommunitypagesdata pt:id=&#034;pages&#034;>
    tag. It returns a list with community page urls with the community id as the objid parameter. Something like this:
    <pt:logic.foreach pt:data=&#034;pages&#034; pt:var=&#034;curr&#034;>
      <pt:logic.variable pt:key=&#034;currcommid&#034; pt:value=&#034;$curr.objid&#034;/>
    </pt:logic.foreach>
    <pt:logic.value pt:value=&#034;$currcommid&#034;/>

  • PT:openerLink to sub-community page

    I'm trying to use the pt:openerLink tags to make simple links to various objects in the portal. I've been able to get most of them to work, but can't find the attribute to allow me to create a link to a community SUB page. That is, I can link to a main community page using its objectID but cannot find the objectID of the sub page. The sub page has the same object ID but a different pageID.
    Putting in a rouge "pageID" attribute didn't help much, unless I have the wrong case sensitivity...?
    Any ideas?
    Thanks!
    Kirk YarosWeb Site ManagerThyssenKrupp Budd Company

    Thanks for the link!
    ---> Now all I need is a way to get a particular page's UUID. I need this so that when we migrate to other environments (dev/stag/prod), I can use the UUID to get the ObjectId for the page in the current environment.
    when getting an IObjectManager from an IRemoteSession, we need to specify an ObjectClass.
    I'm looking at 5.0.2 (I believe) and the ObjectClass does not have a for "page".
    How can I get a page's UUID?
    (See post titled: re: Migration - ObjectClass for "page")
    Shouldn't the Plumtree Transformer Tags take the UUID instead of the ObjectID? This would be better for developers & deployment... or am I missing something?

  • PT Transform Tag that outputs Image Server URL

    I noticed something missing from the EDK that I wanted to get Plumtree's perspective on. We have instances where we need the imageserver URI through the facilities of a Transformation Tag. This useful when the portlet source document is native HTML and does not have server side scripting and also whn using an XSL transformation. In these cases, it would be nice to have a <PT:Image /> tag that can be used to transform into a full URL to an image.
    e.g
    <pt:image pt:src="/fld/subfld/image.gif" alt="sometext" /> --- would output<img src="http://ptserver/imageserver/fld/subfld/image.gif" alt="sometext" />

    The portal translates the token every time it finds a static URL, that is every URL that the transformer rewrites. It would work, for example, in an tag. The transformer does not rewrite style sheets or inline styles, so:
    <td style="background-image: url('someBG.gif');">
    would not get automatically rewritten. You can't use the pt:url tag here, either, since you can't nest XML tags inside HTML tags (note: that's why pt://images/ is a URL rather than an XML tag in the first place).
    So I don't really have a good solution for this one. If this is a dynamic page, your best bet is to grab the image server URL from the EDK in the conventional way.

  • How to add Frameset tag in Logon page

    Hi,
    I want to add frameset tag in Logon page, but how can i add it?
    Please give me reply ASAP.
    Thanks & Regards,
    Nisarg

    Hi,
    From your description, my understanding is that you want to use video tag in your Office 365.
    You should check the video type in your issue, video tag only support mp4 file which you could refer to this article:http://www.w3schools.com/tags/tag_video.asp.
    In addition, you could refer to these articles:
    Video Player for SharePoint 2013 and Office 365
    http://sharepointroot.com/2014/01/22/video-player-for-sharepoint-2013-and-office-365-2/
    how to play a video in sharepoint 2013 foundation version
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/2818becf-e132-4b9a-b50f-8990fa28cf88/how-to-play-a-video-in-sharepoint-2013-foundation-version?forum=appsforsharepoint.
    Best Regards
    Vincent Han
    TechNet Community Support

Maybe you are looking for